PowerSNMP for .NET CF
NetworkStream Constructor
See Also  Send comments on this topic.
Dart.Common Namespace > NetworkStream Class : NetworkStream Constructor




socket
Initialized the class with a Socket instance.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal socket As Socket _
)
Visual Basic (Usage)Copy Code
Dim socket As Socket
 
Dim instance As New NetworkStream(socket)
C# 
public NetworkStream( 
   Socket socket
)
Managed Extensions for C++ 
public: NetworkStream( 
   Socket* socket
)
C++/CLI 
public:
NetworkStream( 
   Socket^ socket
)

Parameters

socket

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.