in reply to Re: Using ioctl()
in thread Using ioctl()

Thanks tachyon,

Maybe I should do it in c so...

For the record, I'm trying to get NIC speed and Duplex mode. Machines can be one of (Linux|SunOS|AIX|HP-UX)...

I need to go away now and beat my forehead off the keyboard for another while...

C.

Replies are listed 'Best First'.
Re^3: Using ioctl()
by tachyon (Chancellor) on Oct 09, 2004 at 22:51 UTC

    Have a look at mii-tool Google for mii-tool to find the source code which is failrly short. Here is a good page on ioctl for reference.

    cheers

    tachyon