Results 1 to 6 of 6

Thread: VB6 - Proper sending/receiving data with Winsock (tutorial & code)

Threaded View

  1. #1

    Thread Starter
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    VB6 - Proper sending/receiving data with Winsock (tutorial & code)

    I think this is information every Winsock or client/server developer should know. It is something I wish I had figured out soon after I first started. While it has been common knowledge to me for some time now (and for many others), without it, your client/server programs will be very fragile and bugs can pop up at any time.

    The tutorial is meant to be as short and straightforward as possible. I wrote this in about an hour or maybe a little more.

    Please let me know if it's helped, if you have any questions, if there's a bug, or anything. And read the tutorial before looking at the code.

    This article explains (and gives code for) how to handle 2 or more packets arriving at the same time, or "together". But unlike other tutorials, it also explains another critical problem, which is one packet getting split in the middle. So I think even if you know most (or possibly all) of this stuff it is still useful information.
    Attached Files Attached Files
    Last edited by DigiRev; Aug 30th, 2007 at 03:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width