Smart Home Automation Forum

Full Version: How to use TCP Server and TCP Client work mode for your own software
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

1: Ethernet work mode = "TCP Server"

controller is a "server", your software is "client".

2: WiFi work mode = "TCP Server"

controller is a "server", your software is "client".

3: Ethernet work mode = "TCP Client"

your software is a "server", controller is "client". when power on, controller will auto connect to your software by ethernet. just "client" will auto connect to "server".

4: WiFi work mode = "TCP Client" instead by MQTT in new firmware

your software is a "server", controller is "client". when power on, controller will auto connect to your software by wifi. just "client" will auto connect to "server".

5: Ethernet work mode = "TCP Client"; WiFi work mode = "TCP Server"

A. your software is a "server", controller is "client". when power on, controller will auto connect to your software by ethernet.

B. controller is a "server", you software is "client".