The following Szenario: i want a ans networking associated RFID-aerial with xProfan address. the goes via Websocket-grabbed. manually in the Browser can I with the corresponding Plugin testing and it functions.
XProfan has there of House from yet nothing in the Trickkiste, is TCP/IP-"Kram".
first a TCP/IP link with HTTP-log on 192.168.1.1:8080/ws arrival and then one Verbindungsupgrade manage aufs Websocket- log by Handshake. Sicherheitsschlüssel for Handshake lying in the Header-Response the HTTP-Call because The Websocketbytes are verschlüsselt/ maskiert.
it walk means 2 Server: a the http Server and b the Websocket-Server (the against on one others Port lauscht (vmtl. 888 or so)).
therefore Perhaps simply such link by JS (ggf. in a HTMLWin) arrival with only of/ one function: new WebSocket('ws://' ...
I use such Websockets z.B. for JavaScript-Clients (Games) joined with a PHP-Server vereinfacht in this manner: