Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to detect active Ethernet link

1 view
Skip to first unread message

mgOn10To100

unread,
Nov 19, 2009, 8:13:22 PM11/19/09
to
Hi, I am using embedded Visual C++ on WinCE with Winsock API calls and
want to detect if my Ethernet card is connected to a switch or not
without actually making a connection to another socket. A bit like how
your computer 'knows' when connected to a switch, without actually
requiring DHCP, etc. (just plug in an RJ45 and the on-board link light
comes on). Thanks for any help. Mark.

Helge Kruse

unread,
Nov 20, 2009, 2:24:25 AM11/20/09
to
The link state should be provided in the dwOperStatus:
http://msdn.microsoft.com/en-us/library/aa915646.aspx

Helge

"mgOn10To100" <mgo...@hotmail.com> wrote in message
news:5304c30b-8609-4ec3...@z35g2000prh.googlegroups.com...

mgOn10To100

unread,
Nov 22, 2009, 6:51:48 PM11/22/09
to
Thanks, Helge.
Mark.

On Nov 20, 6:24 pm, "Helge Kruse" <Helge.Kruse-nos...@gmx.net> wrote:
> The link state should be provided in the dwOperStatus:http://msdn.microsoft.com/en-us/library/aa915646.aspx
>
> Helge
>

> "mgOn10To100" <mgoy...@hotmail.com> wrote in message

0 new messages