Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals()

override bool System.Net.IPEndPoint.Equals ( [NotNullWhen(true)] object? comparand)
inline

Definition at line 151 of file IPEndPoint.cs.

152 {
153 if (comparand is IPEndPoint iPEndPoint && iPEndPoint._address.Equals(_address))
154 {
155 return iPEndPoint._port == _port;
156 }
157 return false;
158 }
IPEndPoint(long address, int port)
Definition IPEndPoint.cs:47

References System.Net.IPEndPoint._address, System.Net.IPEndPoint._port, and System.Net.IPAddress.Equals().