Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winsock control IP in use
Message
From
02/01/2001 17:44:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Winsock control IP in use
Miscellaneous
Thread ID:
00458690
Message ID:
00458690
Views:
50
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
Map
View

Click here to load this message in the networking platform