stunresult.cs
来自「破解的飞信源代码」· CS 代码 · 共 49 行
CS
49 行
namespace Imps.Client.Core.P2P.ICE
{
using System;
using System.Net;
public class StunResult
{
private IPEndPoint m_localEndPoint;
private StunNetType m_NetType = StunNetType.OpenInternet;
private IPEndPoint m_pPublicEndPoint;
public StunResult(StunNetType netType, IPEndPoint publicEndPoint, IPEndPoint localEndPoint)
{
this.m_NetType = netType;
this.m_pPublicEndPoint = publicEndPoint;
this.m_localEndPoint = localEndPoint;
}
public IPEndPoint LocalEndPoint
{
get
{
return this.m_localEndPoint;
}
set
{
this.m_localEndPoint = value;
}
}
public StunNetType NetType
{
get
{
return this.m_NetType;
}
}
public IPEndPoint PublicEndPoint
{
get
{
return this.m_pPublicEndPoint;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?