System::Net::Sockets::Socket::SetSocketOption method
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)
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. |
See Also
- Enum SocketOptionLevel
- Enum SocketOptionName
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
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. |
See Also
- Enum SocketOptionLevel
- Enum SocketOptionName
- Typedef ArrayPtr
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
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. |
See Also
- Enum SocketOptionLevel
- Enum SocketOptionName
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++
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)
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 SharedPtr
- Class Object
- Class Socket
- Namespace System::Net::Sockets
- Library Aspose.PUB for C++