recvmmsg() of C language in Python

This is the place for queries that don't fit in any of the other categories.

recvmmsg() of C language in Python

Postby enjoystar » Wed Dec 18, 2013 8:56 am

Hi All,

Is there a C langauge recvmmsg() function (receive multiple messages on a socket) equivalent in python?
recvmmsg details url:

Last edited by micseydel on Wed Dec 18, 2013 9:05 am, edited 1 time in total.
Reason: Locked.
Posts: 1
Joined: Wed Dec 18, 2013 8:50 am

Re: recvmmsg() of C language in Python

Postby micseydel » Wed Dec 18, 2013 9:19 am

What does recvmsg do over recvmsg which you're looking for? It looks like it's just "performance" and timeouts, the first of which usually isn't an issue and the second of which you have socket.settimeout() for. Have you had a problem with Python's performance with socket.recvmsg()? Or is there a significant gain in code conciseness that you're looking for? Do you have a short example if so?
Join the #python-forum IRC channel on!
User avatar
Posts: 939
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Coding Help

Who is online

Users browsing this forum: metulburr and 1 guest