dcsimg
September 19, 2020
Hot Topics:

Using Winsock

  • By Karl Moore
  • Send Email »
  • More Articles »

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:

But, ya know, the Winsock control doesn't only have to be used for messaging and file sending. Oh no...





Page 7 of 9



This article was originally published on November 20, 2002

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.


Thanks for your registration, follow us on our social networks to keep up-to-date