[ { "id": "73874b9e.d985b4", "type": "tcp in", "z": "cfd9159c.6f73e8", "name": "", "server": "client", "host": "localhost", "port": "1881", "datamode": "single", "datatype": "utf8", "newline": "", "topic": "", "base64": false, "x": 230, "y": 240, "wires": [ [ "ce332113.d2c31" ] ] }, { "id": "a4bd9948.dfeb58", "type": "tcp out", "z": "cfd9159c.6f73e8", "host": "localhost", "port": "1881", "beserver": "server", "base64": false, "end": true, "name": "", "x": 390, "y": 180, "wires": [] }, { "id": "9f80f9c7.1e3c98", "type": "inject", "z": "cfd9159c.6f73e8", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "Hello, World!", "payloadType": "str", "x": 210, "y": 180, "wires": [ [ "a4bd9948.dfeb58" ] ] }, { "id": "ce332113.d2c31", "type": "debug", "z": "cfd9159c.6f73e8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 410, "y": 240, "wires": [] }, { "id": "711ed10d.1d765", "type": "comment", "z": "cfd9159c.6f73e8", "name": "Connect to TCP out server", "info": "`TCP in` node can connect to network server using tcp protocol. `TCP out` node can serve a network server using tcp procol.\n", "x": 190, "y": 120, "wires": [] } ]