I had configure two Network interface (Ethernet and WiFi) on my target and listening on socket port 8000. is it possible to receive data on same socket with these two interfaces ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-07 2:57 PM
@STM32H743_User @STM32F103 because both interface are different as shown below and also its physical layer (PHY) is different.
- Labels:
-
Ethernet
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-08 7:28 AM
Code as an image, some nonsense users mentioned as "MCUs" and no information for an actual platform...
If the question is about lwIP, then yes - it supports working with multiple physical interfaces of different types simultaneously. In a normal IP stack typically UDP/TCP connection is bound to IP address and port, not a specific physical interface. And lwIP supports binding connection to either a single IP address or any IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-02-08 9:45 AM
If your code supports it, yes.
