[issue6560] socket sendmsg(), recvmsg() methods
Gergely Kálmán
report at bugs.python.org
Mon May 23 11:04:11 CEST 2011
Gergely Kálmán <kalman.gergely at duodecad.hu> added the comment:
On 05/22/11 03:14, Brian May wrote:
> Brian May<brian at microcomaustralia.com.au> added the comment:
>
> What needs to happen to get recvmsg() supported in Python?
>
> recvmsg() is required to get get transparent UDP proxies working under Linux using tproxy, the code needs to run recvmsg() to be able to find out what the original destination address was for the the packet.
>
> Thanks
>
> Brian May
>
> ----------
> nosy: +brian
>
> _______________________________________
> Python tracker<report at bugs.python.org>
> <http://bugs.python.org/issue6560>
> _______________________________________
Hello Brian!
It's been a while I had a look at that code. As far as I remember though
the code is fairly decent not
taking the missing unit tests into account. There are a few todos, and
also a pretty bad bug that I've fixed
but not committed. The TODOs include better parsing of auxiliary data,
support for scatter-gather, addressed
messages. If you wish I can send you the latest patch that has the bug
fixed and applies to 3.2. Do you want
this to be pushed to 3.3?
Gergely Kalman
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6560>
_______________________________________
More information about the Python-bugs-list
mailing list