General information
Category:
ActiveX controls in VFP
Title:
Winsock control IP in use
Hi All,
I am writing myself a client/server winsock program. As I develop the server winsock, I come across that after testing the server multiple time daily, I come across that I could not instantiate the server again to listen for incoming request, due to some error: "The IP is being in use" by the earlier instante. I have shutdown my entire fox session and relaunch the server and it would get the same error message.
My question?
Is there any way I can release the IP and PORT# which used by the server on an earlier tests beside rebooting that machine. My guess is the port number did not released by the winsock from the earlier test session even thought the server winsock has shutdown.
I understand that if I programmatically code the server right this should not happen, but if you shut the program down I would think that whateve memory reference to the program should be gone.
THANKS
gan
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only