mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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:
parent
69baed4c36
commit
763f70e6a2
@ -27,7 +27,7 @@ TcpServer_Open($$$)
|
|||||||
my $lh = ($global ? ($global eq "global"? undef : $global) :
|
my $lh = ($global ? ($global eq "global"? undef : $global) :
|
||||||
($hash->{IPV6} ? "::1" : "127.0.0.1"));
|
($hash->{IPV6} ? "::1" : "127.0.0.1"));
|
||||||
my @opts = (
|
my @opts = (
|
||||||
Domain => ($hash->{IPV6} ? AF_INET6() : AF_UNSPEC), # Linux bug
|
Domain => ($hash->{IPV6} ? AF_INET6() : AF_UNSPEC), # Linux bug / #126448
|
||||||
LocalHost => $lh,
|
LocalHost => $lh,
|
||||||
LocalPort => $port,
|
LocalPort => $port,
|
||||||
Listen => 32, # For Windows
|
Listen => 32, # For Windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user