Fabian Cenedese wrote: > I have a device with 2 Ethernet interfaces. Can I have two > "instances" of lwip to handle those?
Not unless you use a full-blown OS that can give the 2 instances seperated address spaces. In other words, the answer is possibly "no, you can't". > My problem is that both > are equal and should allow the same functionality. E.g. it > should be possible to have handlers that listen on the same > (UDP) port for each interface. But lwip can obviously only > have one handler. Or with sockets, there's no way to specify > an interface if I have two sockets listening on the same port > and the same IP addresses. You can't do this on the same IP address. To do this with lwIP, you need to give each netif a dedicated IP address. Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
