[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: shutdown(2)'ing a bound UDP socket
> Unless I have misunderstood (which is certainly possible), the question turn$
(Please don't use paragraph-length lines.)
Neither, I think.
It is local to that particular socket. Like an open plain file, it is
possible to have multiple descriptors referring to a single socket.
In the case at hand, SO_REUSEPORT is allowing the creation of two
distinct sockets on the same address/port, only one of which is subject
to the shutdown().
> Why are you doing this dance of multiple descriptors? What behavior are you $
Yeah, that'd be my question too. Why not just use one socket with two
descriptors on it and just never read from one of them?
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Main Index |
Thread Index |