SetSocketOption()
Contents
[
Hide
]Socket::SetSocketOption(SocketOptionLevel, SocketOptionName, int32_t) method
Sets the specified socket option to the specified value.
void System::Net::Sockets::Socket::SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int32_t optionValue)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The name of the option that must be updated. |
optionValue | int32_t | The value that must be set to the specified option. |
Socket::SetSocketOption(SocketOptionLevel, SocketOptionName, System::ArrayPtr<uint8_t>) method
Sets the specified socket option to the specified value.
void System::Net::Sockets::Socket::SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, System::ArrayPtr<uint8_t> optionValue)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The name of the option that must be updated. |
optionValue | System::ArrayPtr<uint8_t> | The value that must be set to the specified option. |
Socket::SetSocketOption(SocketOptionLevel, SocketOptionName, bool) method
Sets the specified socket option to the specified value.
void System::Net::Sockets::Socket::SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, bool optionValue)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The name of the option that must be updated. |
optionValue | bool | The value that must be set to the specified option. |
Socket::SetSocketOption(SocketOptionLevel, SocketOptionName, System::SharedPtr<Object>) method
Sets the specified socket option to the specified value.
void System::Net::Sockets::Socket::SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, System::SharedPtr<Object> optionValue)
Arguments
Parameter | Type | Description |
---|---|---|
optionLevel | SocketOptionLevel | The socket option level. |
optionName | SocketOptionName | The name of the option that must be updated. |
optionValue | System::SharedPtr<Object> | The value that must be set to the specified option. |
See Also
- Enum SocketOptionLevel
- Enum SocketOptionName
- Typedef ArrayPtr
- Typedef SharedPtr
- Class Socket
- Class Object
- Namespace System::Net::Sockets
- Library Aspose.Slides