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:
rudolfkoenig 2013-11-30 11:32:23 +00:00
parent ec1fa27cf3
commit fbadfd8ca6

View File

@ -28,7 +28,7 @@ TcpServer_Open($$$)
LocalHost => ($global ? undef : "localhost"), LocalHost => ($global ? undef : "localhost"),
LocalPort => $port, LocalPort => $port,
Listen => 10, Listen => 10,
Blocking => 0, # Needed for .WRITEBUFFER@darwin Blocking => ($^O =~ /Win/ ? 1 : 0), # Needed for .WRITEBUFFER@darwin
ReuseAddr => 1 ReuseAddr => 1
); );
$hash->{STATE} = "Initialized"; $hash->{STATE} = "Initialized";