mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 15:31:41 +02:00
* correct INVALID_SOCKET to NOT 0, mantis #20946
git-svn-id: trunk@19883 -
This commit is contained in:
parent
8d79bc1616
commit
397a6059f8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user