updated a few places to use NetState.Address rather than Socket.RemoteEndPoint.Address
added Utility.Intern(IPAddress) and implemented where appropriate
This commit is contained in:
parent
442b48d406
commit
e15ed963d8
9 changed files with 29 additions and 43 deletions
|
|
@ -515,7 +515,7 @@ namespace Server.Network {
|
|||
m_Instances.Add( this );
|
||||
|
||||
try {
|
||||
m_Address = ( ( IPEndPoint ) m_Socket.RemoteEndPoint ).Address;
|
||||
m_Address = Utility.Intern( ( ( IPEndPoint ) m_Socket.RemoteEndPoint ).Address );
|
||||
m_ToString = m_Address.ToString();
|
||||
} catch {
|
||||
m_Address = IPAddress.None;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue