Re: writev() to /dev/bpf from different sockets block

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.network
Message-ID <[email protected]>
I mostly don't have anything to say on this thread.  But...

> [...]
>      if (errno == ENOBUFS) {
>        delay(750000);
> [...]

> Secondary problem: I couldn't find an effective way to handle
> ENOBUFS, other than with a 750us delay

That looks to me like 750ms, not 750us.  At least, on 9.1 delay() is
documented as taking us, not ns.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.