|
|
#1 (permalink) |
|
Still learning the ropes
Join Date: Sep 2006
Posts: 25
![]() |
I have created a client server application for the template of a game. I have a listening port and when the client connects in the server connects it to a permant port in an array.
I dont have the code with me now but will upload it later if necessary. The question is every once in awhile one of the clients will get disconnected and kicked from the server. The winsock returns an error "Connection aborted due to time out or other failure." and closes the connection on the server side. Unless I specifically close the connection on the client side as well it will close on its own 30 seconds later. My question is: is this a hiccup in the internet connection where a packet timed out and thus told the server to close? If so is there a way to reopen the connection without kicking the player from the game? How do existing games handle time out message when someones internet cuts out for a few seconds thus killing some packets? Any help would be greatly appreciated. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
|
|
Copyright © 2004-2008 Onrpg Inc. | Terms of Use | Privacy Policy |
|