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?
Due to the reasons discussed here we will be moving to on October 1, 2016.

This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 3000
Joined: Tue Feb 12, 2013 2:18 am
Location: Mountain View, CA

Return to General Coding Help

Who is online

Users browsing this forum: Bing [Bot] and 6 guests