I need a connection to close or reset when it’s no longer communicating. Is there a setting or registry value that I can use?
Is this related to this?I need a connection to close or reset when it’s no longer communicating. Is there a setting or registry value that I can use?
Is this related to this?
Question - I can only get a connection after a restart or after changing settings ?
Hello all, I have a very odd problem. I have some software which is supposed to wait for a server connection to be established and then send a message over ethernet. What's actually happening is that it sends the message right away before the connection is established and the message is never...forums.tomshardware.com
Are you sure it is a TCP connection.
The standard way these work is the client send a syn message. The server responds with a syn ack and the client sends a ack message in response.
At this point the connection is open and either side can then send messages and the other side will send acks in response.
Either side can also close the session either cleanly by sending FIN message which is also acknowledged. It can also just force a close with a reset.
So what in your session does not follow this pattern. In general the software application does not know anything about these details. It just sends data and all the tcp stuff just happens. The application in general dose not actually generate the tcp messages that is a function more of the OS.
If you are using UDP then the concept of session is all in the application.