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:
parent
29f27c38e1
commit
3a4007e617
@ -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