Search found 1 match
- Sat May 18, 2019 11:43 am
- Forum: ESP32 Arduino
- Topic: How to fix the local port in a TCP Client connection instead of a random port?
- Replies: 1
- Views: 3986
How to fix the local port in a TCP Client connection instead of a random port?
Hello, friends, I have a question: Is it possible to fix a local port during the TCP Client connection on ESP32 (Arduino IDE)? My device must connect to a TCP server at a certain port, and this step is done without any problems using it: WiFiClient client; if (!client.connect(host, port)) { .... ret...