Initializes a new instance of the TcpStream class for the specified Tcp object.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal tcp As Tcp _
) |
| Visual Basic (Usage) | Copy Code |
|---|
Dim tcp As Tcp
Dim instance As New TcpStream(tcp) |
| C# | |
|---|
public TcpStream(
Tcp tcp
) |
| Managed Extensions for C++ | |
|---|
public: TcpStream(
Tcp* tcp
) |
| C++/CLI | |
|---|
public:
TcpStream(
Tcp^ tcp
) |
Parameters
- tcp
- The Tcp object that provides the network data for the new TcpStream.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also