Hi, I am using TCP protocal for a simple client/server applications the problem I am running into is that if I disconnect I must re-open my server application in order re-connect again. I want to know how I can always make sure my server application is listening and that my client can always connect
I added this code to the ERROR procedure in the winsock control on my server.
On error resume next
It doesn't seem to work because I can't re-establish a connection from the client unless i re-load the server and client.
So basically I can only connect once. I want to make sure I can disconnect and re-connect without re-opening the server application.