Re: select for UNIX sockets?

From: Krzysztof Halasa (khc@pm.waw.pl)
Date: Thu Jun 05 2003 - 08:17:46 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:27 EST