[haiku-bugs] [Haiku] #5716: [RFC][PATCH][gsoc2010] Enhancements in networking code

  • From: "atis.elsts" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Apr 2010 11:20:13 -0000

#5716: [RFC][PATCH][gsoc2010] Enhancements in networking code
--------------------------------+-------------------------------------------
 Reporter:  atis.elsts          |       Owner:  nobody   
     Type:  enhancement         |      Status:  new      
 Priority:  normal              |   Milestone:  R1       
Component:  Network & Internet  |     Version:  R1/alpha1
 Keywords:                      |   Blockedby:           
 Platform:  All                 |    Blocking:           
--------------------------------+-------------------------------------------
 This patch fixes one bug and two TODOs in network related Haiku code.

 Description:
  - connect() to INADDR_ANY should means the same as connect()
 INADDR_LOOPBACK:
   - fix this behaviour for TCP - it was not working because
 INADDR_LOOPBACK was used in wrong byte order;
   - move IPv4 specific code out of TCP module to IPv4 address family
 module;
   - support this behaviour for UDP too.
  - bind() and connect() should fail if the passed as argument has wrong
 address family. Note: this is stricter behaviour than in Linux kernel. See
 my tests for details.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5716>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: