Share via


SetSocketOption Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets 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.

Overload List

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

Top

See Also

Reference

Socket Class

System.Net.Sockets Namespace