UtilNetworkTcpConnctions Property
Gets the active TCP connctions.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static IEnumerable<TcpConnectionInformation> TcpConnctions { get; }
Public Shared ReadOnly Property TcpConnctions As IEnumerable(Of TcpConnectionInformation)
Get
Dim value As IEnumerable(Of TcpConnectionInformation)
value = UtilNetwork.TcpConnctions
public:
static property IEnumerable<TcpConnectionInformation^>^ TcpConnctions {
IEnumerable<TcpConnectionInformation^>^ get ();
}
static member TcpConnctions : IEnumerable<TcpConnectionInformation> with get
No code example is currently available or this language may not be supported.
Property Value
IEnumerableTcpConnectionInformationThe TCP connctions.
This is a code example.
No code example is currently available or this language may not be supported.
Dim tcpConnections As IEnumerable(Of TcpConnectionInformation) = TcpConnctions
For Each tcpInfo As TcpConnectionInformation In tcpConnections
Console.WriteLine("Local: {0}:{1} | Remote: {2}:{3} | State: {4}",
tcpInfo.LocalEndPoint.Address.ToString(), tcpInfo.LocalEndPoint.Port.ToString(),
tcpInfo.RemoteEndPoint.Address.ToString(), tcpInfo.RemoteEndPoint.Port.ToString(),
tcpInfo.State.ToString())
Next tcpInfo
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.