by Zack Lantz (2 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(11 Votes)

This is a TCP/IP Winsock API Server. I decided to post it since there wasn't enough information on the winsock api on the internet. It took me about 8 months to figure this out and only about 3 days to make ;] I have included a client with it in a seperate zip file, the client was made to work with the server. I just used mswinsck.ocx for the client, but it works =). My main goal was to get the server to work.
Please vote if you like the code or feel it diserves a rating.
Assumes
Using Winsock API you can have as many connections to the server that windows can handle. This code is pretty advanced and i hope that i managed to comment it enought to were you understand it.
Side Effects
There is a few bugs left to work out, one is the nick collisions, ie when 2 people try to log on with the same nick, one person dont recieve messages but sends to the server/other clients. I am unshure on other bugs. One of the bugs is when a user disconnects from the server, sometimes it pops up with an error.
enjoy
Upload