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

◆ SetTcpKeepAlive()

static void System.Net.ServicePointManager.SetTcpKeepAlive ( bool enabled,
int keepAliveTime,
int keepAliveInterval )
inlinestatic

Definition at line 213 of file ServicePointManager.cs.

214 {
215 if (enabled)
216 {
217 if (keepAliveTime <= 0)
218 {
219 throw new ArgumentOutOfRangeException("keepAliveTime");
220 }
221 if (keepAliveInterval <= 0)
222 {
223 throw new ArgumentOutOfRangeException("keepAliveInterval");
224 }
225 }
226 }