Is LAN cable connected
-
- Posts: 10
- Joined: Fri Apr 25, 2008 4:51 am
Is LAN cable connected
Is there a function in the Network libraries for the MOD5270 board to check if the LAN (cable) is connected to the MOD5270 board?
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Re: Is LAN cable connected
I use this...
if (!bEthLink)
{
// no media!
return IP_TYPE_ERROR;
}
Chris
if (!bEthLink)
{
// no media!
return IP_TYPE_ERROR;
}
Chris
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand