> 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.

In principle sendto() can return you an ENOBUFS error when the
interface queue is full, but not always (depending on how the
firewall plays with the packet).

        cheers
        luigi

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

Reply via email to