GetSocketOption()
Contents
[
Hide
]Socket::GetSocketOption(SocketOptionLevel, SocketOptionName) method
Returns the value that corresponds to the specified option name.
System::SharedPtr<Object> System::Net::Sockets::Socket::GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The option name. |
Return Value
The value that corresponds to the specified option name.
Socket::GetSocketOption(SocketOptionLevel, SocketOptionName, System::ArrayPtr<uint8_t>) method
Gets the value that corresponds to the specified option name.
void System::Net::Sockets::Socket::GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, System::ArrayPtr<uint8_t> optionValue)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The option name. |
optionValue | System::ArrayPtr<uint8_t> | The output parameter where the corresponding value will be assigned. |
Socket::GetSocketOption(SocketOptionLevel, SocketOptionName, int32_t) method
Returns the value that corresponds to the specified option name.
System::ArrayPtr<uint8_t> System::Net::Sockets::Socket::GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int32_t optionLength)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The option name. |
optionLength | int32_t | The option length. |
Return Value
The value that corresponds to the specified option name.
See Also
- Enum SocketOptionLevel
- Enum SocketOptionName
- Typedef SharedPtr
- Typedef ArrayPtr
- Class Object
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.Slides