-
Server Client Issues
Hi, I made a server client.
My problem is I can connect and send and recv packets to my server on the same comp. I sent my client to my friend. On my server it says he is connected. He doesnt recv any packets but is still connected. I know this because when he closes the app my server says he is now disconnected. Anyone know how I can figure this out?
Hes running windows 98 and Im on XP
-
Well we dont have much to go on here. If he is successfully connecting, then there is no reason why he wouldnt be able to send/receive packets. There might be something fishy in your code which might cause the problems you are having, but I can't think of a network issue.
The first thing I would do is double check the return values of all your socket calls like connect(), send(), recv(), accept(), etc. Make sure you are quiting on an error instead of moving on to the next function call.