1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +09:00

Changed all Endpoint to EndPoint for consistency

This commit is contained in:
lidgren
2012-07-06 21:28:13 +00:00
parent b49392182b
commit 1ecf9fd8b8
19 changed files with 101 additions and 102 deletions

View File

@@ -34,7 +34,7 @@ namespace Lidgren.Network
/// </summary>
public static class NetUtility
{
public delegate void ResolveEndPointCallback(IPEndPoint endpoint);
public delegate void ResolveEndPointCallback(IPEndPoint endPoint);
public delegate void ResolveAddressCallback(IPAddress adr);
/// <summary>
@@ -371,11 +371,11 @@ namespace Lidgren.Network
/// <summary>
/// Returns true if the IPEndPoint supplied is on the same subnet as this host
/// </summary>
public static bool IsLocal(IPEndPoint endpoint)
public static bool IsLocal(IPEndPoint endPoint)
{
if (endpoint == null)
if (endPoint == null)
return false;
return IsLocal(endpoint.Address);
return IsLocal(endPoint.Address);
}
/// <summary>