Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing tcp/ip connection
Message
De
09/07/2010 10:25:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Closing tcp/ip connection
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01471989
Message ID:
01471989
Vues:
105
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform