socketpair() missing ?
"Martin v. Löwis"
martin at v.loewis.de
Fri May 2 10:32:54 EDT 2003
Peter Hansen wrote:
> I searched to find what this function does, and found a zillion
> answers, but I don't seem to see any explanation of *why* you
> would want to do that.
>
> What's the use case for socketpair()?
It is used in the same contexts as pipe(2). However, it allows
bidirectional communication, and supports the socket API (send,
recv).
Regards,
Martin
More information about the Python-list
mailing list