Re: <Font size=3 color=green><strong>Sending Graphical data over the sockets</strong></font>
Tuesday, April 16, 2002 05:32 AM
Just treat your images as a stream of bytes and send them over the socket. You would presumably also need to define some kind of standard header so that the receiving system could know what the bytes represented (i.e. whether it was a GIF file, a JPEG, a BMP etc). This header could be as simple as a three byte header of the form 'GIF' (for example) or as complicated as you wanted to make it). The receiving system would then have to know what to do with the bytes (for example, write them to a file etc.).