Search Tools Links Login

Winsock - Multi-Connect Server


A full basic winsock server allowing for 1000 and more client connections. Very easy to expand on for any type of server that needs the ability to allow multiple socket connections.

Original Author: Daniel Krusky

Assumptions

Run the 'Server' and then run as many 'Client' as you want. The socket client that is included connects to the server on launch. If you read the code, it is well commented, and not very complex. This makes winsock easy and fun. =) .... Enjoy.

Side Effects

================================================
SERVER: I tried to trap for Error 340, but somehow, it ignores it sometimes... (you will understand when you run it)... all this error means is that the control is not available... I unload them as they are no longer needed to free up memory, and use error handling to try and trap it, but it would seem this is another microsoft bug.
=================================================
CLIENT: Further, on the client side, I tried to add some code to the unload event that would send a disconnect request to the server prior to unloading if the socket was still connected, It would seem that this too is sadly ignored.
=================================================
= Any input on this matter would be appreciated.=
=================================================

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 80 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD5560572000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 6,421 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.