Messages in this thread |  | | | Date | Thu, 7 Feb 2002 08:44:21 -0500 (EST) | | From | "Richard B. Johnson" <> | | Subject | Re: want opinions on possible glitch in 2.4 network error reporting |
| |
On Wed, 6 Feb 2002, Chris Friesen wrote:
> "Richard B. Johnson" wrote: > > [snip] > > Hackers code sendto as: > > sendto(s,...); > > Professional programmers use: > > (void)sendto(s,...); > > > > checking the return value is useless. > > > > Note that the man-page specifically states that ENOBUFS can't happen. > > I don't know what your manpage says, but my manpage doesn't say anything about > ENOBUFS not being possible. From the man page: > > "ENOBUFS The system was unable to allocate an internal memory block. The > operation may succeed when buffers become available."
ENOBUFS The output queue for a network interface was full. This generally indicates that the interface has stopped sending, but may be caused by transient congestion. (This cannot occur in Linux, packets are just silently dropped when a device queue over |  |