Share via


Socket.GetSocketOption Method

Gets the setting of the current socket's specified configuration option.

Overload List

Name Description
Socket.GetSocketOption (SocketOptionLevel, SocketOptionName) Gets the setting of the current socket's specified configuration option, and returns the value of the option in an object.
Socket.GetSocketOption (SocketOptionLevel, SocketOptionName, Byte[]) Gets the setting of the current socket's specified configuration option, and returns the value of the option in an array.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Socket Class
Socket Members
System.Net.Sockets Namespace