Std socket socketstream onclose std:std.socket.SocketStream.OnClose Method OnClose:Void( )# Closes the socket.