VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Winsock Multi-Connect Server

MicroVB INC  (5 Submissions)   Internet/HTML   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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.

Assumes
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.= =================================================

Rate Winsock Multi-Connect Server (4(4 Vote))

Download Winsock Multi-Connect Server

Winsock Multi-Connect Server Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters