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

◆ GetActiveTcpListeners()

override IPEndPoint[] System.Net.NetworkInformation.SystemIPGlobalProperties.GetActiveTcpListeners ( )
inline

Definition at line 38 of file SystemIPGlobalProperties.cs.

39 {
42 foreach (SystemTcpConnectionInformation item in allTcpConnections)
43 {
44 if (item.State == TcpState.Listen)
45 {
46 list.Add(item.LocalEndPoint);
47 }
48 }
49 return list.ToArray();
50 }
unsafe List< SystemTcpConnectionInformation > GetAllTcpConnections()

References System.Net.NetworkInformation.SystemIPGlobalProperties.GetAllTcpConnections(), System.item, and System.list.