lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problem about the loopback


From: Aimar
Subject: Re: [lwip-users] Problem about the loopback
Date: Tue, 6 Sep 2011 10:47:36 +0800 (CST)

Dear Kieran,
         Thanks for your reply. Actually I think this compare should be used to confirm if the destination port in the UDP head of the incoming packet which is from the remote host is equal to the local port. In normal situation the remote host will pepare this, but when sending a packet to the address 127.0.0.1 and the netif receive this packet, it should swap the destination port and the source port in the UDP head, shouldn't it?

At 2011-09-05 17:07:45,"Kieran Mansley" <address@hidden> wrote: >On Mon, 2011-09-05 at 13:31 +0800, Aimar wrote: >> In this function, the condition pcb->local_port == dest isn't met > >Doesn't that suggest you have no socket waiting for data on the port >that you've sent to? > >Kieran > > >_______________________________________________ >lwip-users mailing list >address@hidden >https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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