commit af9f037ce60057f11a4cea9c744b77491a4b759e parent d27c908791a33e6e2ab2a9e4c463aef729a2e6e9 Author: sin <sin@2f30.org> Date: Mon, 4 Jun 2012 11:39:18 +0100 sscall: Use MSG_DONTWAIT Diffstat:
M | sscall.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sscall.c b/sscall.c @@ -306,7 +306,7 @@ main(int argc, char *argv[]) do { addr_len = sizeof(their_addr); bytes = recvfrom(srv_sockfd, buf, - sizeof(buf), 0, + sizeof(buf), MSG_DONTWAIT, (struct sockaddr *)&their_addr, &addr_len); if (bytes > 0)