Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SocketInformation.cs
Go to the documentation of this file.
1
namespace
System.Net.Sockets
;
2
3
public
struct
SocketInformation
4
{
5
public
byte
[]
ProtocolInformation
{
get
;
set
; }
6
7
public
SocketInformationOptions
Options
{
get
;
set
; }
8
9
internal
void
SetOption
(
SocketInformationOptions
option,
bool
value
)
10
{
11
if
(
value
)
12
{
13
Options
|= option;
14
}
15
else
16
{
17
Options
&= ~option;
18
}
19
}
20
21
internal
bool
GetOption
(
SocketInformationOptions
option)
22
{
23
return
(
Options
& option) == option;
24
}
25
}
System.Net.Sockets.SocketInformationOptions
SocketInformationOptions
Definition
SocketInformationOptions.cs:7
System.Net.Sockets
Definition
AddressInfoHints.cs:1
System.ExceptionArgument.value
@ value
System.Net.Sockets.SocketInformation.Options
SocketInformationOptions Options
Definition
SocketInformation.cs:7
System.Net.Sockets.SocketInformation.ProtocolInformation
byte[] ProtocolInformation
Definition
SocketInformation.cs:5
System.Net.Sockets.SocketInformation.SetOption
void SetOption(SocketInformationOptions option, bool value)
Definition
SocketInformation.cs:9
System.Net.Sockets.SocketInformation.GetOption
bool GetOption(SocketInformationOptions option)
Definition
SocketInformation.cs:21
System.Net.Sockets.SocketInformation
Definition
SocketInformation.cs:4
source
System.Net.Sockets
System.Net.Sockets
SocketInformation.cs
Generated by
1.10.0