Creates a new instance of the NetworkStream class.
Creates a new instance of the NetworkStream class for the specified Socket.
[Visual Basic] Overloads Public Sub New(Socket)
[C#] public NetworkStream(Socket);
[C++] public: NetworkStream(Socket*);
[JScript] public function NetworkStream(Socket);
Creates a new instance of the NetworkStream class for the specified Socket with the specified access rights.
[Visual Basic] Overloads Public Sub New(Socket, FileAccess)
[C#] public NetworkStream(Socket, FileAccess);
[C++] public: NetworkStream(Socket*, FileAccess);
[JScript] public function NetworkStream(Socket, FileAccess);
NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace