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

◆ UdpReceiveResult()

System.Net.Sockets.UdpReceiveResult.UdpReceiveResult ( byte[] buffer,
IPEndPoint remoteEndPoint )
inline

Definition at line 15 of file UdpReceiveResult.cs.

16 {
17 if (buffer == null)
18 {
19 throw new ArgumentNullException("buffer");
20 }
21 if (remoteEndPoint == null)
22 {
23 throw new ArgumentNullException("remoteEndPoint");
24 }
26 _remoteEndPoint = remoteEndPoint;
27 }

References System.Net.Sockets.UdpReceiveResult._buffer, System.Net.Sockets.UdpReceiveResult._remoteEndPoint, and System.buffer.