Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winsock is busy long time after disconnecting to remote
Message
From
28/10/2003 04:32:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Winsock is busy long time after disconnecting to remote
Miscellaneous
Thread ID:
00843408
Message ID:
00843408
Views:
73
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
Map
View

Click here to load this message in the networking platform