System.Net.Sockets.Socket.CanUseConnectEx C# (CSharp) Method

CanUseConnectEx() private method

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