public static extern void DisconnectNetworkHost(int hostId, out byte error); internal static bool DoesEndPointUsePlatformProtocols(EndPoint endPoint)