lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP and DONTROUTE flag


From: Martin Persich
Subject: Re: [lwip-users] LwIP and DONTROUTE flag
Date: Sun, 3 Apr 2011 22:08:04 +0200

Hi Kieran,
thank you for an idea with additional route to a specific IP address. I will try this.
Thank you.
Martin persich


----- Original Message ----- From: "Kieran Mansley" <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Sunday, April 03, 2011 12:47 PM
Subject: Re: [lwip-users] LwIP and DONTROUTE flag



On 2 Apr 2011, at 19:31, Martin Persich wrote:

is in LwIP stack any possibility to send UDP packet to specified IP address
without routing (using of gateway IP address) ?

Which API are you using? It might be possible with a raw socket (i.e. a socket of type raw, not the confusingly named lwIP raw API!) You would be responsible for forming the UDP header etc, but I think this would be worth a try. All normal data sent via lwIP sockets at the TCP and UDP level would be subject to IP routing, and we don't support any of the socket options or flags that would allow you to bypass this.

Another alternative, if you know the address you want to send to to a specific IP address, you could insert a route for that exact address, and so get the result you need.

Kieran




reply via email to

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