Fabian Cenedese wrote:

> Is it possible to create a UDP handler that is listening on
> all ports?

No, at least not using some kind of UDP socket or pcb. Instead, you could use a 
raw socket which gets all ip packets for a specific IP and/or protocol. 
However, doing this with the socket API is VERY unperformant as every incoming 
packet is copied into your socket thread. Instead, you could use a raw-API raw 
pcb, which does the same, but is zero-copy. However, With a raw socket/pcb, you 
will have to do the protocol header parsing yourself...

Simon
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to