|
-
May 7th, 2008, 10:36 AM
#2
Re: Winsock 10048 error
You are really over-complicating the issue with your lengthy post.
Error 10048 means Address already in use.
You are trying to open a connection on a socket that is already in use.
Make sure you always close your socket(s) in the Socket_Close Event
If a client disconnects from the server then the server needs to close the server socket that was used for that client. The client already closed his socket.
If the server disconnects the client (closes his socket) then you do the same thing and close your server socket for that client.
Make sure your are keeping accurate account of the Indexes of the sockets.
Last edited by jmsrickland; May 7th, 2008 at 10:42 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|