My Application is acting as server as well as client.
Server as recieving data from other clent and sending data to another server.
Current scenario is while m sending message to server i am crreating and closing socket after sending.
But the Requirement is to keep the connection of that server when my application is up so that every time to send message i need not to create connection everytime.
From my ending message is going properly and server recieving first message properly but after that next message is not shown on that server log.
Kindly suggest what can be the problem.
Thanking in Advance.