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

tiny changes

This commit is contained in:
lidgren
2012-10-27 10:15:33 +00:00
parent 97112179ae
commit 0875aff427
2 changed files with 18 additions and 1 deletions

View File

@@ -7,10 +7,24 @@ using System.Threading;
namespace Lidgren.Network
{
/// <summary>
/// Status of the UPnP capabilities
/// </summary>
public enum UPnPStatus
{
/// <summary>
/// Still discovering UPnP capabilities
/// </summary>
Discovering,
/// <summary>
/// UPnP is not available
/// </summary>
NotAvailable,
/// <summary>
/// UPnP is available and ready to use
/// </summary>
Available
}
@@ -30,6 +44,9 @@ namespace Lidgren.Network
private UPnPStatus m_status;
/// <summary>
/// Status of the UPnP capabilities of this NetPeer
/// </summary>
public UPnPStatus Status { get { return m_status; } }
/// <summary>

View File

@@ -332,7 +332,7 @@ namespace Lidgren.Network
}
/// <summary>
/// Gets my local IP address (not necessarily external) and subnet mask
/// Gets my local IPv4 address (not necessarily external) and subnet mask
/// </summary>
public static IPAddress GetMyAddress(out IPAddress mask)
{