TcpServerUtils.pm: add a comment to the code (Forum #126448)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25743 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-02-26 10:35:32 +00:00
parent 69baed4c36
commit 763f70e6a2

View File

@ -27,7 +27,7 @@ TcpServer_Open($$$)
my $lh = ($global ? ($global eq "global"? undef : $global) :
($hash->{IPV6} ? "::1" : "127.0.0.1"));
my @opts = (
Domain => ($hash->{IPV6} ? AF_INET6() : AF_UNSPEC), # Linux bug
Domain => ($hash->{IPV6} ? AF_INET6() : AF_UNSPEC), # Linux bug / #126448
LocalHost => $lh,
LocalPort => $port,
Listen => 32, # For Windows