Posted on 2002-07-17
I have been using winsock controls from last 6 months but still unable to solve this problem completely. Here it goes..
I have an array of winsock controls on server which keeps listening for a connection. Then workstations are there which connects to the server then the interaction starts. There is no problem with the interaction. its perfect as long as the connection exists.
Problem starts when one of the connected workstation restarts. Server shows the status as connected [state property of winsock] where as the workstation is restarting. In this state it will not allow any connection on the same port as its already connected. So workstation after restart cannot connect to the workstation.
I have another application installed [just the exe file, not the source] which uses winsock and gets the restart status perfectly. It was also developed in vb and runs on win98 [same as in my case] Hence i assume that its possible.
Thanks in advance.