[Python-bugs-list] [ python-Feature Requests-567969 ] Missing socketpair() function.

noreply@sourceforge.net noreply@sourceforge.net
Sat, 15 Jun 2002 06:23:32 -0700


Feature Requests item #567969, was opened at 2002-06-12 13:46
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=567969&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Graham Horler (grahamh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Missing socketpair() function.

Initial Comment:
Coming from a C++ background, I have noticed the 
absence of a socketpair() function in the socket module.

I have implemented a couple of workarounds (see 
attached sockpair2.py), which I use a lot.

But there are security and portability problems lurking.

How about a nice shiny new socketpair() call in 
socketmodule?

Thanks, Graham.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-06-15 15:23

Message:
Logged In: YES 
user_id=21627

Good idea. Would you like to work on a patch? Notice that
this would involve autoconf machinery, since I doubt that
socketpair is universally available.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=567969&group_id=5470