System.Net.Sockets.Socket.CanUseConnectEx C# (CSharp) Méthode

CanUseConnectEx() private méthode

private CanUseConnectEx ( EndPoint remoteEP ) : bool
remoteEP System.Net.EndPoint
Résultat bool
        private bool CanUseConnectEx(EndPoint remoteEP)
        {
            return (_socketType == SocketType.Stream) &&
                (_rightEndPoint != null || remoteEP.GetType() == typeof(IPEndPoint));
        }