Hello:

I am doing a program that sends udp packets. I have a counter
and each time I send a packet with "sendto()", I increment the value
of this variable.

But I would like to count the frames that are being actually
transmitted, through the ethernet card, some like the ifconfig/netstat.

I would not like to run this commands with popen() or similar because I
would have to parse the output, and this output have not always the same
format.

Does anyone knows some easy-function or an easy method to do this ?

Best Regards.

*****
JFRH
*****

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to