Displaying 2 results from an estimated 2 matches for "mrecv".
Did you mean:
recv
2015 Dec 10
0
[PATCH] Receive multiple packets at a time
...logger(LOG_ERR, "Receiving packet failed: %s", sockstrerror(sockerrno));
return;
}
handle_incoming_vpn_packet(sock, &pkt, &from);
#endif
}
/mjt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mrecv.patch
Type: text/x-patch
Size: 2858 bytes
Desc: not available
URL: <http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20151210/28885d0e/attachment.bin>
2015 Dec 10
2
[PATCH] Receive multiple packets at a time
Hello,
Guus Sliepen, on Wed 02 Dec 2015 13:53:37 +0100, wrote:
> That's great! It would be good though to split
> handle_incoming_vpn_data() into a function that does the actual
> recvfrom/mmsg() and one that processes each individual packet, to reduce
> the level of indentation and make the functions a bit more readable.
> Then I'll merge it :)
Here it is.
Samuel