Information générale
Titre:
Winsock is busy long time after disconnecting to remote
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement