how to simultaneously have Ethernet and WiFi with tcp ip stack on booth.
For example:
utp client example could be configured to be ether on Ethernet or WiFi.
No example for booth of them simultaneously.
Any idea, suggestion?
how to get socket on Ethernet and Wifi at the same time?
-
- Posts: 9043
- Joined: Thu Nov 26, 2015 4:08 am
Re: how to get socket on Ethernet and Wifi at the same time?
I don't think there is anything special you need to do wrt sockets in that example, as the UDP socket is bound to INADDR_ANY which means an incoming connection can come from any interface. Just bring both WiFi and Ethernet up (make sure they're not on the same network, though), and it should work.
Who is online
Users browsing this forum: chegewara, Google [Bot] and 142 guests