* correct INVALID_SOCKET to NOT 0, mantis

git-svn-id: trunk@19883 -
This commit is contained in:
marco 2011-12-22 12:20:00 +00:00
parent 8d79bc1616
commit 397a6059f8

View File

@ -312,7 +312,7 @@ unit winsock;
taken from the BSD file sys/socket.h.
}
const
INVALID_SOCKET = TSocket(not(1));
INVALID_SOCKET = TSocket(not(0));
SOCKET_ERROR = -1;
SOCK_STREAM = 1;
SOCK_DGRAM = 2;