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

◆ IPEndPoint() [2/2]

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

Definition at line 57 of file IPEndPoint.cs.

58 {
59 if (address == null)
60 {
61 throw new ArgumentNullException("address");
62 }
63 if (!TcpValidationHelpers.ValidatePortNumber(port))
64 {
65 throw new ArgumentOutOfRangeException("port");
66 }
67 _port = port;
68 _address = address;
69 }

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