Click to See Complete Forum and Search --> : Tcp/ip


toanlb
December 27th, 2002, 12:37 PM
I'm studying TCP/IP in game. I try to catch the sign if one of the member disconnect, but I can't. I solve this problem by sending a message "CLOSE" before disconnecting. But in the situation of network problem, how can the player knows that the other one is disconnected? Please help me as soon as possible !!!

Angelicus
December 29th, 2002, 11:53 AM
I'm not sure about how to implement this.. but why not try a timeout feature. Where if a packet hasn't been recieved from the peer for x amount of time the peer is dropped.

Just a suggestion