NetworkStream()
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)
Arguments
Parameter | Type | Description |
---|---|---|
socket | System::SharedPtr<System::Net::Sockets::Socket> | The socket that is used for sending and receiving data. |
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)
Arguments
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. |
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)
Arguments
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
- Enum FileAccess
- Typedef SharedPtr
- Class Socket
- Class NetworkStream
- Namespace System::Net::Sockets
- Library Aspose.Slides