Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing tcp/ip connection
Message
From
09/07/2010 10:25:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Closing tcp/ip connection
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:
01471989
Views:
104
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
Next
Reply
Map
View

Click here to load this message in the networking platform