VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Winsock Multi-Connect Server

by MicroVB INC (5 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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

Download Winsock Multi-Connect Server

Download Winsock Multi-Connect Server (6 KB)

Winsock Multi-Connect Server Comments

No comments have been posted about Winsock Multi-Connect Server. Why not be the first to post a comment about Winsock Multi-Connect Server.

Post your comment

Subject:
Message:
0/1000 characters