Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing the validity of a Com Port
Message
De
20/08/2008 09:06:35
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
19/08/2008 19:00:31
Ed Milner
National Care Connection
Colorado, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01340243
Message ID:
01340339
Vues:
10
Hi Ed,

>Hi Tim, First, I don't know what I'm talking about. But, why not test connect in a separate thread so the app isn't hanging while waiting...

This is the first thing I am working on this morning but I still need to check the port somehow as it hangs indefinately (or appears that way). I am not expecting a return from the process as I have an event that will fire OnConnectionStateChange to let the application know if we connected; or when. But within that connection process that thread will still hang if the port isn't valid. I don't know why the try-catch isn't helping me out.

Thanks
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform