I have created a tcp Server and a Client. They communicate with each other perfectly.
However, i have never been able to create the situation where as soon as the client connects with the server, the NetworkStream is kept permanently open so they can send data back and forth.
It appears that the NetworkStream can only be written once and read once before closing the connection. In order to read multiple and write multiple (back and forth) i have to close the connection and open up new ones. However the requirement is one kept alive connection. Does anyone have an example of how to accomplish what i am trying to do?
...
Go to the complete details ...