cancel
Showing results for 
Search instead for 
Did you mean: 

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 ?

suresh kumar1
Associate

@STM32H743_User​ @STM32F103​ because both interface are different as shown below and also its physical layer (PHY) is different.0690X00000D8WYIQA3.png

2 REPLIES 2
Piranha
Chief II

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.

TDK
Guru

If your code supports it, yes.

If you feel a post has answered your question, please click "Accept as Solution".