There are no shutdownInput and shutdownOutput methods (like these in Java) in inet::TcpSocket and closing any of the socket's streams leads to closing the socket itself.
TCP is a full-duplex protocol so being able to close only one part of the connection is important and there is API for that in any language.
Promoted to ticket #2058 and assigned to brian
seems like good idea to me, this should be simple patch if anyone wants to email me one
Ticket resolved in 1.0.64
Added TcpSocket shutdownIn and shutdownOut methods
Login or Signup to reply.