buglwIP - A Lightweight TCP/IP stack - Bugs: bug #30185, ioctl/FIONREAD/UDP: return total...

 
 

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

bug #30185: ioctl/FIONREAD/UDP: return total bytes or length of next packet?

Submitted by:  Simon Goldschmidt <goldsimon>
Submitted on:  Mon 21 Jun 2010 05:06:02 PM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Thu 21 Jul 2011 06:22:11 PM UTC, comment #1:

Fixed by adding code that behaves like linux does (not the default since the old code - which is more windows-like - is smaller).

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Mon 21 Jun 2010 05:06:02 PM UTC, original submission:

This came up on lwip-users:
It's unclear whether for UDP sockets, ioctl/FIONREAD should return "the amount of pending data in the network buffer" (like the microsoft doc says) or "Returns the size of the next pending datagram in the integer in bytes" (like linux man udp says).

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Jul 2011 06:22:11 PM UTCgoldsimonStatusNeed Info=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1