miniupnp/miniupnp — pull request #72 by fingon (2014-05-14 07:20:57+00:00)
Title: The great {sendto,recvfrom} => {send,recv}msg conversion effort.

My proposal how to handle IP{v4,v6} sockets. It seems to work on OS X and Linux at least. Only big question mark is the SA_LEN macro #ifdef, in my mind, perhaps just using _sa_len _everywhere_ would be more portable.