AncientHacker
Programmer
I have a weird thing I want to do.
I have a server that sometimes hangs and will not accept any more input. The right fix would be to fix the offending code, but that would require a looong QA cycle which I'd like to avoid for now.
What I'd like to do is form the client end, send a packet to the server and (somehow) see if the server read it. I *think* if I could get a hold of the TCP send window size, before and then after a reasonable interval after the send, I'd have some idea if the server actually read the data.
I don't see any "getsockopt" for this though!!
Anybody have any ideas how to get this kind of info?
Platform: Windows XP, Delphi, Indy Client, Sockets.
I have a server that sometimes hangs and will not accept any more input. The right fix would be to fix the offending code, but that would require a looong QA cycle which I'd like to avoid for now.
What I'd like to do is form the client end, send a packet to the server and (somehow) see if the server read it. I *think* if I could get a hold of the TCP send window size, before and then after a reasonable interval after the send, I'd have some idea if the server actually read the data.
I don't see any "getsockopt" for this though!!
Anybody have any ideas how to get this kind of info?
Platform: Windows XP, Delphi, Indy Client, Sockets.