System::Net::Sockets::NetworkStream::NetworkStream constructor
Contents
[
Hide
]NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket>) constructor
Constructs a new instance.
System::Net::Sockets::NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket> socket)
| Parameter | Type | Description |
|---|---|---|
| socket | System::SharedPtr<System::Net::Sockets::Socket> | The socket that is used for sending and receiving data. |
See Also
- Typedef SharedPtr
- Class Socket
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket>, bool) constructor
Constructs a new instance.
System::Net::Sockets::NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket> socket, bool ownsSocket)
| Parameter | Type | Description |
|---|---|---|
| socket | System::SharedPtr<System::Net::Sockets::Socket> | The socket that is used for sending and receiving data. |
| ownsSocket | bool | A value that indicates if the current instance takes ownership of the specified socket when the value is true. |
See Also
- Typedef SharedPtr
- Class Socket
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++
NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket>, System::IO::FileAccess, bool) constructor
Constructs a new instance.
System::Net::Sockets::NetworkStream::NetworkStream(System::SharedPtr<System::Net::Sockets::Socket> socket, System::IO::FileAccess access, bool ownsSocket)
| Parameter | Type | Description |
|---|---|---|
| socket | System::SharedPtr<System::Net::Sockets::Socket> | The socket that is used for sending and receiving data. |
| access | System::IO::FileAccess | Specifies the access type given to the instance over the specified socket. |
| ownsSocket | bool | A value that indicates if the current instance takes ownership of the specified socket when the value is true. |
See Also
- Typedef SharedPtr
- Class Socket
- Enum FileAccess
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Font for C++