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

◆ TcpSocket() [2/2]

Terraria.Net.Sockets.TcpSocket.TcpSocket ( TcpClient tcpClient)
inline

Definition at line 39 of file TcpSocket.cs.

40 {
42 _connection.NoDelay = true;
43 IPEndPoint iPEndPoint = (IPEndPoint)tcpClient.Client.RemoteEndPoint;
44 _remoteAddress = new TcpAddress(iPEndPoint.Address, iPEndPoint.Port);
45 }

References Terraria.Net.Sockets.TcpSocket._connection, and Terraria.Net.Sockets.TcpSocket._remoteAddress.