File: System\Net\Sockets\SocketInformationOptions.cs
Web Access
Project: src\src\libraries\System.Net.Sockets\src\System.Net.Sockets.csproj (System.Net.Sockets)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.ComponentModel;
 
namespace System.Net.Sockets
{
    [Flags]
    public enum SocketInformationOptions
    {
        NonBlocking = 0x1,
        //Even though getpeername can give a hint that we're connected, this needs to be passed because
        //disconnect doesn't update getpeername to return a failure.
        Connected = 0x2,
        Listening = 0x4,
        [Obsolete("SocketInformationOptions.UseOnlyOverlappedIO has been deprecated and is not supported.")]
        [EditorBrowsable(EditorBrowsableState.Never)]
        UseOnlyOverlappedIO = 0x8,
    }
}