[haiku-bugs] Re: [Haiku] #9678: Cannot send and receive through the same socket

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Apr 2013 11:38:51 -0000

#9678: Cannot send and receive through the same socket
---------------------------------------+-------------------------
   Reporter:  markh                    |      Owner:  zooey
       Type:  bug                      |     Status:  new
   Priority:  normal                   |  Milestone:  R1
  Component:  Network & Internet/IPv4  |    Version:  R1/alpha4.1
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+-------------------------

Comment (by phoudoin):

 Just test it: when skipping connect() and using sendto() instead, send and
 receive through the same socket does works as expected.

 Which means that connect() is the culprid here.
 Well, not the syscall, but the UdpEndpointManager::ConnectEndpoint() one,
 I fear.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9678#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: