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

◆ SetOption()

void System.Net.Sockets.SocketInformation.SetOption ( SocketInformationOptions option,
bool value )
inlinepackage

Definition at line 9 of file SocketInformation.cs.

10 {
11 if (value)
12 {
13 Options |= option;
14 }
15 else
16 {
17 Options &= ~option;
18 }
19 }

References System.Net.Sockets.SocketInformation.Options, and System.value.