This documentation is archived and is not being maintained.

Socket.GetSocketOption Method

Returns the value of a Socket option.

Name Description
Socket.GetSocketOption (SocketOptionLevel, SocketOptionName) Returns the value of a specified Socket option, represented as an object.

Supported by the .NET Compact Framework.

Socket.GetSocketOption (SocketOptionLevel, SocketOptionName, Byte[]) Returns the specified Socket option setting, represented as a byte array.

Supported by the .NET Compact Framework.

Socket.GetSocketOption (SocketOptionLevel, SocketOptionName, Int32) Returns the value of the specified Socket option in an array.

Supported by the .NET Compact Framework.

Show: