|
-
December 27th, 2002, 01:37 PM
#1
Tcp/ip
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 !!!
-
December 29th, 2002, 12:53 PM
#2
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
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
|