Hello,

I am not sure if theis is the correct place to ask this question, so if I am wrong then please just inform me where it should be placed.

I am opening a socket connection to a server, send a message, receiving a reply and close the socket all this goes very well so far. But when I close the socket the last message I sent gets sent again, which confuses me. Why would a TCPClient.Close() send the data again. Could someone explain to me why this might happen and how I should close the socket so that it does not send the message again.

Thanks

Mike