TcpSocketConnection-Sometimes client data is not hitting to server,Eventhough server port is open

TcpSocketConnection-Sometimes client data is not hitting to server,Eventhough server port is open,
Is there any way to send success message from server to client,when the data hits to server from client

You can setup the tcp server as echo server.