-->
Page 1 of 1

ESP8266 AS CLIENT TO WIN SOCKET SERVER APP ON DESKTOP?

PostPosted: Wed Sep 09, 2020 8:26 am
by BrandonLuis
I'm trying to connect ESP8266 with a tcp socket server program running on my windows computer, i developed a C# application running and listing to TCP socket with IP 172.16.1.85 Port 6579 i can connect client software to this server and send and receive message, i can also connect to this server through Putty as client.

My computer and ESP module are connected to same router, I was trying to use different libraries like WebSocketsClient.h WifiClient.h When i google mostly results are regarding web socket that i believe is for communicating with web browser on socket, though that seems different but tried it as well, but i never receive any connection to the server from my ESP device,

Re: ESP8266 AS CLIENT TO WIN SOCKET SERVER APP ON DESKTOP?

PostPosted: Wed Mar 30, 2022 1:18 am
by burnard
With the popularity of WiFi IoT devices, the demand for low-cost and easy-to-use WiFi modules is increasing. The ESP8266 is a new player in this field: it is small (25mm x 15mm), with simple pin connections (standard 2×4 pin headers), uses serial TX/RX to send and receive Ethernet buffers, and Similarly, uses the serial command to query and change the configuration of the WiFi module. This is quite convenient as it requires only two wires (TX/RX) to communicate between the micro-controller and the WiFi, but more importantly, it loads the WiFi-related functions into the module , making the microcontroller code very lightweight.