[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] listen to multiple ports
From: |
address@hidden |
Subject: |
Re: [lwip-users] listen to multiple ports |
Date: |
Tue, 9 Jul 2019 20:44:17 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
Am 05.07.2019 um 16:37 schrieb steffen_storck:
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.
I don't get it. Netifs don't listen to ports, pcbs do.
is there a way to have all netifs listen to more than one port? (for
example, 30000, 32000 and 42000).
Bind to local port with ADDR_ANY?
Regards,
Simon
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
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users