You've already forked lidgren-network-gen3
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user