need help accessing NIC from a C++ program

Hello there,
I am writing a program that needs to talk to all the NICs on a
computer to get stats such as packets sent and received since last check.
Can someone tell me which system calls to look at for this purpose?

thanks,

sabtain

Nevermind I got the answer . devctl() can be used to get that information.




“sabtain” <khansx@aecl.ca> wrote in message news:ekmq6u$qs5$1@inn.qnx.com

Hello there,
I am writing a program that needs to talk to all the NICs on a
computer to get stats such as packets sent and received since last check.
Can someone tell me which system calls to look at for this purpose?

thanks,

sabtain