2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

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

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

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