X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/9a8d70fc12f32787d6cdea912f84aca3d47326c4..66fc75f9dc1f2fe4e0f478fb76a14492f4ab1b82:/lsocket.pas diff --git a/lsocket.pas b/lsocket.pas index 573644b..6a1ce0b 100755 --- a/lsocket.pas +++ b/lsocket.pas @@ -449,6 +449,9 @@ begin end; end; + {$else} + SetSockOpt(fdhandlein, SOL_SOCKET, SO_REUSEADDR, 'TRUE', Length('TRUE')); + {$endif} localaddr := addr; localport := port;