01_FHEMWEB.pm: enable more precise JavaScript client notification (Forum #43945)

git-svn-id: https://svn.fhem.de/fhem/trunk@9867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-11-12 16:41:48 +00:00
parent 49c3b5fceb
commit aba1d8f119
2 changed files with 6 additions and 2 deletions

View File

@@ -113,6 +113,8 @@ TcpServer_Accept($$)
my %nhash;
$nhash{NR} = $devcount++;
$nhash{NAME} = $cname;
$nhash{PEER} = $caddr;
$nhash{PORT} = $port;
$nhash{FD} = $clientinfo[0]->fileno();
$nhash{CD} = $clientinfo[0]; # sysread / close won't work on fileno
$nhash{TYPE} = $type;