Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to get information on the ne

Status
Not open for further replies.

CaKiwi

Programmer
Apr 8, 2001
1,294
US
I need to get information on the network card on my system from a C program. On Windoze Visual C I call Netbios(). Is there something equivalent in GCC? My distro is Mandrake 8.1. I posted this question in the Linux desktop forum thread619-226490 but have not had a response.
TIA. CaKiwi
 
hey!
just use ioctl with the file descriptor of a created socket.
and u can arrange the inforemation abt the network card
yogi( yatindr@rediff.com )
 
hey!
just use ioctl with the file descriptor of a created socket.
and u can arrange the inforemation abt the network card
yogi( yatindr@rediff.com )
 
Thanks for the response, yogi. Could you post an example of how to do it?
Thanks again. CaKiwi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top