mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 03:47:18 +01:00
* fixed #28908 (add alias for ADDRINUSE to sockets) for win,os2,unix
git-svn-id: trunk@32258 -
This commit is contained in:
parent
d95b95e648
commit
a9ac2abc77
@ -108,6 +108,7 @@ const
|
||||
EsockENOTSOCK = SOCENOTSOCK;
|
||||
EsockEPROTONOSUPPORT = SOCEPROTONOSUPPORT;
|
||||
EsockEWOULDBLOCK = SOCEWOULDBLOCK;
|
||||
EsockADDRINUSE = SOCEADDRINUSE;
|
||||
|
||||
|
||||
(***************************************************************************)
|
||||
|
||||
@ -59,7 +59,7 @@ const
|
||||
{$endif beos}
|
||||
EsockEPROTONOSUPPORT = ESysEProtoNoSupport;
|
||||
EsockEWOULDBLOCK = ESysEWouldBlock;
|
||||
|
||||
EsockADDRINUSE = ESysEADDRINUSE;
|
||||
|
||||
{ unix socket specific functions }
|
||||
Procedure Str2UnixSockAddr(const addr:string;var t:TUnixSockAddr;var len:longint); deprecated;
|
||||
|
||||
@ -45,6 +45,7 @@ const
|
||||
EsockENOTSOCK = WSAENOTSOCK;
|
||||
EsockEPROTONOSUPPORT = WSAEPROTONOSUPPORT;
|
||||
EsockEWOULDBLOCK = WSAEWOULDBLOCK;
|
||||
EsockADDRINUSE = WSAEADDRINUSE;
|
||||
|
||||
SHUT_RD = SD_RECEIVE; // aliases so we are cross-platform
|
||||
SHUT_WR = SD_SEND;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user