General information
Title:
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 .
Next
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