buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34921, UDP echo server don't need...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34921: UDP echo server don't need netconn_connect when replying packet

Submitted by:  Iwan Budi Kusnanto <ibk>
Submitted on:  Mon 28 Nov 2011 09:46:47 AM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Fri 20 Jan 2012 09:00:05 PM UTC, comment #2:

Done. Still it would have been interesting what doesn't work for you: the original version worked fine for me.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 28 Nov 2011 09:13:36 PM UTC, comment #1:

That echo server is there as an example of how to use the API. It might not be necessary to use netconn_connect(), but it shows what it's used for.

What doesn't work for you from the 2nd loop on? I can send plenty of packets to that server and it keeps working.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 28 Nov 2011 09:46:47 AM UTC, original submission:

UDP echo server don't need netconn_connect when replying packet.
The original udpecho.c also only work on first loop.
My patch has been tested with lwip-1.4.0.rc2

Iwan Budi Kusnanto <ibk>

 

Attached Files
file #24483:  udpecho.patch added by ibk (454B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by ibk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Jan 2012 09:00:05 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Mon 28 Nov 2011 09:46:47 AM UTCibkAttached File-=>Added udpecho.patch, #24483

    Back to the top


    Powered by Savane 3.1-cleanup1