G
Gabacho D Sanchez
Like a couple people have asked previously, I need to detect whether or not
I have a connection. Unlike the code at http://www.businessanyplace.net/?
p=code#checkconnec (which simply tests a web address), I need to check for
an actual connection to the network (in my case via a WAP). Having an
external connection is not important in my case because I just want data to
stay in my local network. Ruediger's solution seems good, but I would like
to not use the OpennetCF if I don't have to. Is there any other way to
simply check for a "link"?
I want to write a quick little app that has an alarm, wakes up, and fires
off some Wake-On-Lan packets. A little app run from my pocket pc to make
sure my network wakes up with me Problem is that a connection takes a
while to establish after the device has been woken up by the alarm. I just
need to poll the state for a little bit until I can determine whether or
not I'm connected.
Thanks,
Bill
And BTW, Ruediger, are you the Ruediger that sometimes attends NANOG
conferences? Maybe thats just a more common name than I think
I have a connection. Unlike the code at http://www.businessanyplace.net/?
p=code#checkconnec (which simply tests a web address), I need to check for
an actual connection to the network (in my case via a WAP). Having an
external connection is not important in my case because I just want data to
stay in my local network. Ruediger's solution seems good, but I would like
to not use the OpennetCF if I don't have to. Is there any other way to
simply check for a "link"?
I want to write a quick little app that has an alarm, wakes up, and fires
off some Wake-On-Lan packets. A little app run from my pocket pc to make
sure my network wakes up with me Problem is that a connection takes a
while to establish after the device has been woken up by the alarm. I just
need to poll the state for a little bit until I can determine whether or
not I'm connected.
Thanks,
Bill
And BTW, Ruediger, are you the Ruediger that sometimes attends NANOG
conferences? Maybe thats just a more common name than I think