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

◆ TcpClient() [2/5]

System.Net.Sockets.TcpClient.TcpClient ( AddressFamily family)
inline

Definition at line 148 of file TcpClient.cs.

149 {
150 if (System.Net.NetEventSource.Log.IsEnabled())
151 {
152 System.Net.NetEventSource.Info(this, family, ".ctor");
153 }
154 if (family != AddressFamily.InterNetwork && family != AddressFamily.InterNetworkV6 && family != AddressFamily.Unknown)
155 {
157 }
158 _family = family;
160 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static string net_protocol_invalid_family
Definition SR.cs:44
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7

References System.Net.Sockets.TcpClient._family, System.SR.Format(), System.Net.NetEventSource.Info(), System.Net.Sockets.TcpClient.InitializeClientSocket(), System.Net.NetEventSource.Log, and System.SR.net_protocol_invalid_family.