📄 stunresult.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -