using System;
using System.Net;
namespace RevolutionaryStuff.P2P.Basics
{
public interface IConnectivityManager
{
bool AutoConnect { get; set; }
bool IsConnectedToTheInternet { get; }
bool ShouldThrottleTcpIpConnectionAttempts { get; }
string ExternalHostName { get; }
IPEndPoint ExternalTcpEndPoint { get; }
bool ExternalTcpEndPointAccessVerified { get; }
IPEndPoint ExternalUdpEndPoint { get; }
bool ExternalUdpEndPointAccessVerified { get; }
IPEndPoint InternalTcpEndPoint { get; }
IPEndPoint InternalUdpEndPoint { get; }
void JoinMultiCastGroup(IPAddress addr);
}
}
|