std:std.socket.SocketStream.New

Method New:Void( socket:Socket )

Creates a new socketsteam from an existing socket.

Note: Closing the stream will also close the socket.