c# detecting tcp disconnect
问题 I have two simple applications: A Server application that waits on a specific tcp port for a client to connect. Then listens to what he says, send back some feedback and DISCONNECT that client. A Form application that connects to the server application, then says something, then wait for the feedback and disconnect from the server, then show the feedback in the form. Though the server application seems to behave correctly (I have tested it with Telnet and I see the feedback and I see the