Using Winsock, Page 7
Sending files via the Winsock is, alas, a little more difficult than plain ol' messages.
The problem is, the Winsock control can only work with small strings of text. So the only way to transfer a file is to break it down into manageable chunks and send those across to the other party as individual chunks. The receiving computer would then need to stick these back together again to recreate the original file.
Not quite a thirty-second jobby, but still relatively easy. Erm, but I'm going to give it a miss 'cause you can find demos of this technique already at:
- VB-World Our very own file-sending demo http://www.vb-world.net/demos/winsock/
- VB Web How to send a file, plus create a progress monitor http://www.vbweb.co.uk/show.asp?id=193
But, ya know, the Winsock control doesn't only have to be used for messaging and file sending. Oh no...
Page 7 of 9