This documentation is archived and is not being maintained.

Socket.SetSocketOption Method

Sets a Socket option.

Name Description
Socket.SetSocketOption (SocketOptionLevel, SocketOptionName, Boolean) Sets the specified Socket option to the specified Boolean value.
Socket.SetSocketOption (SocketOptionLevel, SocketOptionName, Byte[]) Sets the specified Socket option to the specified value, represented as a byte array.

Supported by the .NET Compact Framework.

Socket.SetSocketOption (SocketOptionLevel, SocketOptionName, Int32) Sets the specified Socket option to the specified integer value.

Supported by the .NET Compact Framework.

Socket.SetSocketOption (SocketOptionLevel, SocketOptionName, Object) Sets the specified Socket option to the specified value, represented as an object.

Supported by the .NET Compact Framework.

Show: