Marcelo Roberto Jimenez 127b123c2c Consistent usage of win32 INVALID_SOCKET and SOCKET_ERROR.
On win32 socket() returns INVALID_SOCKET, which is unsigned,
on error, not -1.

Also, most network functions return SOCKET_ERROR.

This patch tries to make the usage consistent.
(cherry picked from commit f384e54fc68802d5e95688ea02e15d1e85f0b7ea)
2010-11-07 18:59:52 -02:00
..
2010-09-12 00:28:35 -03:00
2010-09-12 00:28:35 -03:00
2010-09-12 00:28:35 -03:00
2010-10-21 00:27:57 -02:00
2010-10-21 00:27:57 -02:00
2010-10-21 08:29:52 -02:00
2010-10-21 08:29:52 -02:00
2008-06-10 03:23:08 +00:00