ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_win32.c
(Generate patch)

Comparing libev/ev_win32.c (file contents):
Revision 1.17 by root, Sat Oct 17 21:47:56 2015 UTC vs.
Revision 1.18 by root, Thu Nov 12 07:02:37 2015 UTC

86 goto fail; 86 goto fail;
87 87
88 if (connect (sock [0], (struct sockaddr *)&addr, addr_size)) 88 if (connect (sock [0], (struct sockaddr *)&addr, addr_size))
89 goto fail; 89 goto fail;
90 90
91 /* TODO: returns INVALID_SOCKET on winsock accept, not < 0. fix it */
92 /* when convenient, probably by just removing error checking altogether? */
91 if ((sock [1] = accept (listener, 0, 0)) < 0) 93 if ((sock [1] = accept (listener, 0, 0)) < 0)
92 goto fail; 94 goto fail;
93 95
94 /* windows vista returns fantasy port numbers for sockets: 96 /* windows vista returns fantasy port numbers for sockets:
95 * example for two interconnected tcp sockets: 97 * example for two interconnected tcp sockets:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines