Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3699

What is Best Practice for checking a network connection?

$
0
0

Hello all,

I have a console app that I am trying to debug - it uses URLConnection to send data to Twilio so a text can be sent.

In my logs, I see where the following code come back with a 0.

Dim nic As integer = System.NetworkInterfaceCount

Am I using this correctly or should I use another function? Either way, what would be the best practice when the NetworkInterfaceCount goes to zero?

Thanks,
Tim

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3699

Trending Articles