Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Winsock is busy long time after disconnecting to remote
Message
De
28/10/2003 04:32:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Winsock is busy long time after disconnecting to remote
Divers
Thread ID:
00843408
Message ID:
00843408
Vues:
74
Hello everybody,

I have the following program: Winsock is used to connect 2 computers as server and client with TCP protocol. They communicate nicely and promptly.
The only problem is that when disconnecting one , the other remains busy for a relatively long period: sometimes 20 seconds, but sometimes 4 seconds. I put a timer in the form to "see" changes in Winsock.state, I also set Application.AutoYield to .F. (then to .T.) , but the same result. I know that Windows manages the connection between the 2, but did anyone experience this ? What could I do to decrease that busy time ?

Thank You,
Mihai .
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform