lcore.org gitweb
/
lcore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9a8d70f
)
do SO_REUSEADDR also when listening in windows. wine needs it and it does not hurt...
author
beware
<beware@bircd.org>
Fri, 25 May 2012 00:08:50 +0000
(
00:08
+0000)
committer
beware
<beware@bircd.org>
Fri, 25 May 2012 00:08:50 +0000
(
00:08
+0000)
git-svn-id: file:///svnroot/lcore/trunk@115
b1de8a11
-f9be-4011-bde0-
cc7ace90066a
lsocket.pas
patch
|
blob
|
history
diff --git
a/lsocket.pas
b/lsocket.pas
index 573644b5520fedb90206ad22c10cac6103e8ccc7..6a1ce0be96b19ea5607b76cc35568de8abcd64a2 100755
(executable)
--- a/
lsocket.pas
+++ b/
lsocket.pas
@@
-449,6
+449,9
@@
begin
\r
end;
\r
end;
\r
\r
end;
\r
end;
\r
+ {$else}
\r
+ SetSockOpt(fdhandlein, SOL_SOCKET, SO_REUSEADDR, 'TRUE', Length('TRUE'));
\r
+
\r
{$endif}
\r
localaddr := addr;
\r
localport := port;
\r
{$endif}
\r
localaddr := addr;
\r
localport := port;
\r