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

◆ SetTcpKeepAlive()

void System.Net.ServicePoint.SetTcpKeepAlive ( bool enabled,
int keepAliveTime,
int keepAliveInterval )
inline

Definition at line 114 of file ServicePoint.cs.

115 {
116 if (enabled)
117 {
118 if (keepAliveTime <= 0)
119 {
120 throw new ArgumentOutOfRangeException("keepAliveTime");
121 }
122 if (keepAliveInterval <= 0)
123 {
124 throw new ArgumentOutOfRangeException("keepAliveInterval");
125 }
126 }
127 }