ESP32 Socket Client
Posted: Thu Aug 06, 2020 11:28 am
Hello,
I am connecting wifi and ethernet on the same network.
When I am trying to open a socket, they both ethernet and wifi connecting to the socket server. If I want to separate their network, How can I disable one of them connecting to the socket. I want to manage the wifi socket and the wired ethernet socket separately.
For example, if my wifi connectted a network and try to connect socket server on 192.168.1.30 port 3000, Also my ethernet on the different network will try to connect on 192.168.30 port 3000. How can I prevent it?
Thank you for your help.
I am connecting wifi and ethernet on the same network.
When I am trying to open a socket, they both ethernet and wifi connecting to the socket server. If I want to separate their network, How can I disable one of them connecting to the socket. I want to manage the wifi socket and the wired ethernet socket separately.
For example, if my wifi connectted a network and try to connect socket server on 192.168.1.30 port 3000, Also my ethernet on the different network will try to connect on 192.168.30 port 3000. How can I prevent it?
Thank you for your help.