mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
TcpServerUtils: Blocking=0 is not working on windows
git-svn-id: https://svn.fhem.de/fhem/trunk@4300 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ec1fa27cf3
commit
fbadfd8ca6
@ -28,7 +28,7 @@ TcpServer_Open($$$)
|
||||
LocalHost => ($global ? undef : "localhost"),
|
||||
LocalPort => $port,
|
||||
Listen => 10,
|
||||
Blocking => 0, # Needed for .WRITEBUFFER@darwin
|
||||
Blocking => ($^O =~ /Win/ ? 1 : 0), # Needed for .WRITEBUFFER@darwin
|
||||
ReuseAddr => 1
|
||||
);
|
||||
$hash->{STATE} = "Initialized";
|
||||
|
Loading…
x
Reference in New Issue
Block a user