X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/12873c59bfaeb05331a96c3611843aceedc899e0..1272fe8df1c3cc91ea478e2d2d44a0ec4c80f57b:/lsocket.pas?ds=sidebyside 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;