singrdk/base/Libraries/System.Net/Sockets/SocketOptionLevel.cs

63 lines
1.7 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
//------------------------------------------------------------------------------
// <copyright file="SocketOptionLevel.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
2008-11-17 18:29:00 -05:00
namespace System.Net.Sockets
{
2008-03-05 09:52:00 -05:00
using System;
//
// Option flags per-socket.
//
/// <devdoc>
/// <para>
/// Defines socket option levels for the <see cref='System.Net.Sockets.Socket'/> class.
/// </para>
/// </devdoc>
//UEUE
public enum SocketOptionLevel {
/// <devdoc>
/// <para>
/// Indicates socket options apply to the socket itself.
/// </para>
/// </devdoc>
Socket = 0xffff,
/// <devdoc>
/// <para>
/// Indicates socket options apply to IP sockets.
/// </para>
/// </devdoc>
IP = ProtocolType.IP,
/// <devdoc>
/// <para>
/// Indicates socket options apply to IPv6 sockets.
/// </para>
/// </devdoc>
IPv6 = ProtocolType.IPv6,
/// <devdoc>
/// <para>
/// Indicates socket options apply to Tcp sockets.
/// </para>
/// </devdoc>
Tcp = ProtocolType.Tcp,
/// <devdoc>
/// <para>
/// Indicates socket options apply to Udp sockets.
/// </para>
/// </devdoc>
//UEUE
Udp = ProtocolType.Udp,
}; // enum SocketOptionLevel
} // namespace System.Net.Sockets