Page 1 of 1

LAN connection

Posted: Wed Dec 15, 2010 9:19 am
by SeeCwriter
Is there a way to determine if the ethernet port on a NB module has been connected to a LAN? And conversely, a way to detect when the cable has been unplugged?

Steve

Re: LAN connection

Posted: Wed Dec 15, 2010 10:10 am
by rnixon
EtherLink() function. Return True if there is a link, otherwise False.