Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing tcp/ip connection
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01471989
Message ID:
01472101
Views:
47
Don't know if this will help but worth a try:
http://www.foxite.com/archives/winsock-when-close-tcp-connection-hangs-0000039744.htm

I know you could probably run a DOS command (netstat) to kill the connection - would not be the cleanest way to do it of course..but it might work...haha
http://answers.yahoo.com/question/index?qid=20060924051959AAJWCaX


>Hi all,
>
>i have the next problem. On my form there is an ocx "TCPHost". I don't know where it come from but i guess its from Microsoft.
>
>This ocx is implemented in lots of forms. Now i have to make a modification to the existing program and change the program in a way
>
>that it can work with several tcp/ip's.
>
>When i make 2 instances of the form in runtime the second form gives an error like '... adress already in use'. When i look to my code i see t
>
>that the both forms have there own address.
>
>When i use a networksniffer i see that when i run one instance and close the form the communication stay's active. So i guess my problem
>
>starts there.
>
>I tried to close the communication of the ocx in the destroy methode of my form but that doesnt work. When i close the foxpro program even
>
>then te communication continues....
>
>Somebody has a clue how to shut down this communication ?
>
>
>thnx
ICQ 10556 (ya), 254117
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform