Is LAN cable connected

Topics for the Eclipse Environment
Post Reply
jmcpherson96
Posts: 10
Joined: Fri Apr 25, 2008 4:51 am

Is LAN cable connected

Post by jmcpherson96 »

Is there a function in the Network libraries for the MOD5270 board to check if the LAN (cable) is connected to the MOD5270 board?
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Re: Is LAN cable connected

Post by Chris Ruff »

I use this...


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
Post Reply