Socket.GetSocketOption Method

Returns the value of a Socket option.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetSocketOption(SocketOptionLevel, SocketOptionName) Returns the value of a specified Socket option, represented as an object.
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, Byte[]) Returns the specified Socket option setting, represented as a byte array.
Public method GetSocketOption(SocketOptionLevel, SocketOptionName, Int32) Returns the value of the specified Socket option in an array.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft