#2967: getpeername() succeeds on unconnected sockets
--------------------------------------+---------------------------
Reporter: bonefish | Owner: phoudoin
Type: bug | Status: assigned
Priority: normal | Milestone: R1
Component: Network & Internet/TCP | Version: R1/pre-alpha1
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
--------------------------------------+---------------------------
Comment (by phoudoin):
Stupid fix, in fact, as it will break for connectionless sockets, like
UDP.
It means that, indeed, TCP module should not set peer address public until
connected.
--
Ticket URL: <https://dev.haiku-os.org/ticket/2967#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.