Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(109)

Delta Between Two Patch Sets: Modules/socketmodule.c

Issue 22043: Use a monotonic clock to compute timeouts
Left Patch Set: Created 3 years, 2 months ago
Right Patch Set: Created 3 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/gcmodule.c ('k') | Modules/timemodule.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* Socket module */ 1 /* Socket module */
2 2
3 /* 3 /*
4 4
5 This module provides an interface to Berkeley socket IPC. 5 This module provides an interface to Berkeley socket IPC.
6 6
7 Limitations: 7 Limitations:
8 8
9 - Only AF_INET, AF_INET6 and AF_UNIX address families are supported in a 9 - Only AF_INET, AF_INET6 and AF_UNIX address families are supported in a
10 portable manner, though AF_PACKET, AF_NETLINK and AF_TIPC are supported 10 portable manner, though AF_PACKET, AF_NETLINK and AF_TIPC are supported
(...skipping 6993 matching lines...) Expand 10 before | Expand all | Expand 10 after
7004 return NULL; 7004 return NULL;
7005 memcpy(&packed_addr, src, sizeof(packed_addr)); 7005 memcpy(&packed_addr, src, sizeof(packed_addr));
7006 return strncpy(dst, inet_ntoa(packed_addr), size); 7006 return strncpy(dst, inet_ntoa(packed_addr), size);
7007 } 7007 }
7008 /* Should set errno to EAFNOSUPPORT */ 7008 /* Should set errno to EAFNOSUPPORT */
7009 return NULL; 7009 return NULL;
7010 } 7010 }
7011 7011
7012 #endif 7012 #endif
7013 #endif 7013 #endif
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7