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.
brianThu 15 Nov 2012
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
brianFri 21 Dec 2012
Ticket resolved in 1.0.64
Added TcpSocket shutdownIn and shutdownOut methods
endragor Thu 15 Nov 2012
There are no
shutdownInput
andshutdownOutput
methods (like these in Java) ininet::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.
brian Thu 15 Nov 2012
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
brian Fri 21 Dec 2012
Ticket resolved in 1.0.64
Added TcpSocket shutdownIn and shutdownOut methods