Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock control IP in use
Message
De
02/01/2001 17:44:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Winsock control IP in use
Divers
Thread ID:
00458690
Message ID:
00458690
Vues:
51
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
Répondre
Fil
Voir

Click here to load this message in the networking platform