mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 12:31:01 +02:00
* SHUT_* constants added for improved compatibility to other platforms
git-svn-id: trunk@25203 -
This commit is contained in:
parent
5f1b12573f
commit
00a0bf992f
@ -144,6 +144,10 @@ const
|
||||
SO_REUSEPORT = $1000;
|
||||
// allow t/tcp on socket
|
||||
SO_TTCP = $2000;
|
||||
// aliases so we are cross-platform
|
||||
SHUT_RD = SO_RCV_SHUTDOWN;
|
||||
SHUT_WR = SO_SND_SHUTDOWN;
|
||||
SHUT_RDWR = SO_RCV_SHUTDOWN or SO_SND_SHUTDOWN;
|
||||
|
||||
(***************************************************************************)
|
||||
(* *)
|
||||
|
Loading…
Reference in New Issue
Block a user