Re: select for UNIX sockets?

Krzysztof Halasa
2003-06-05T13:04:11Z

Krzysztof Halasa <khc@pm.waw.pl> writes:

> but unix_peer_get(sk) returns NULL.

Well... I missed the fact that this program uses "unconnected" UNIX UDP.
Still, it shouldn't block on sendmsg after a successful select(), maybe
dropping the packet should be better?. It's not that simple.

Thanks for all replies, investigating this issue further.
--
Krzysztof Halasa
Network Administrator