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

◆ IPEndPoint() [1/2]

System.Net.IPEndPoint.IPEndPoint ( long address,
int port )
inline

Definition at line 47 of file IPEndPoint.cs.

48 {
49 if (!TcpValidationHelpers.ValidatePortNumber(port))
50 {
51 throw new ArgumentOutOfRangeException("port");
52 }
53 _port = port;
54 _address = new IPAddress(address);
55 }

References System.Net.IPEndPoint._address, System.Net.IPEndPoint._port, and System.Net.TcpValidationHelpers.ValidatePortNumber().

Referenced by System.Net.IPEndPoint.TryParse().