|
Re: detect IP/UDP destination address: msg#00031network.lwip.general
On Mon, 2006-12-18 at 10:54 +0100, beach.dk-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx wrote: > Hi, > > I have set up an UDP-server using the raw API > > upcb= udp_new(); > udp_recv( upcb, callback_recv, get_nic_netif() ); > udp_bind( upcb, IP_ADDR_ANY, 1234 ); > > In my callback_recv function I can see the IP address of the UDP-client > so I can reply to it. > > But........ I would like to detect if the client sent the incoming UDP > packet using unicast or broadcast (so I can respond with a > corresponding unicats/broacast packet). > > Is this possible? Someone may correct me, as I'm not sure about this, but unicast/broadcast is a rather Ethernet specific concept, and so I'd be surprised if it was visible at the higher layers as these have to interoperate on many different physical networks. Kieran |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | detect IP/UDP destination address: 00031, beach . dk-Re5JQEeQqe8AvxtiuMwx3w |
|---|---|
| Next by Date: | Re: detect IP/UDP destination address: 00031, beach . dk-Re5JQEeQqe8AvxtiuMwx3w |
| Previous by Thread: | detect IP/UDP destination addressi: 00031, beach . dk-Re5JQEeQqe8AvxtiuMwx3w |
| Next by Thread: | Re: detect IP/UDP destination address: 00031, beach . dk-Re5JQEeQqe8AvxtiuMwx3w |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |