lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] listen to multiple ports


From: steffen_storck
Subject: [lwip-users] listen to multiple ports
Date: Fri, 5 Jul 2019 07:37:57 -0700 (MST)

Hello everybody,

i managed to add mutliple netifs, each with a individual IP adress.
Unfortunately all these netifs only listen to one port. (i can trance the
input through ethernet.c, ip4.c to udp.c where  - of course - the local port
is not the dest-port and the telegram gets dismissed.

is there a way to have all netifs listen to more than one port? (for
example, 30000, 32000 and 42000). 

i could simply edit the udp.c and add an array of pcbs, but that feels
wrong.

i looked into the bridgeif.c file but i am not sure if this is what i want.
i don't want to forward the telegram, i only need the udp_callback_fn to be
called.

Danke,
Steffen



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]