Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ExclusiveAddressUse
bool
System.Net.Sockets.Socket.ExclusiveAddressUse
get
set
Definition at line
756
of file
Socket.cs
.
757
{
758
get
759
{
760
if
((
int
)
GetSocketOption
(
SocketOptionLevel
.Socket,
SocketOptionName
.ExclusiveAddressUse) == 0)
761
{
762
return
false
;
763
}
764
return
true
;
765
}
766
set
767
{
768
if
(
IsBound
)
769
{
770
throw
new
InvalidOperationException
(
System
.
SR
.
net_sockets_mustnotbebound
);
771
}
772
SetSocketOption
(
SocketOptionLevel
.Socket,
SocketOptionName
.ExclusiveAddressUse,
value
? 1 : 0);
773
}
774
}
System.Net.Sockets.Socket.GetSocketOption
object? GetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName)
Definition
Socket.cs:2235
System.Net.Sockets.Socket.IsBound
bool IsBound
Definition
Socket.cs:754
System.Net.Sockets.Socket.SetSocketOption
void SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, int optionValue)
Definition
Socket.cs:2143
System.SR.net_sockets_mustnotbebound
static string net_sockets_mustnotbebound
Definition
SR.cs:66
System.SR
Definition
SR.cs:7
System.Net.Sockets.SocketOptionLevel
SocketOptionLevel
Definition
SocketOptionLevel.cs:4
System.Net.Sockets.SocketOptionName
SocketOptionName
Definition
SocketOptionName.cs:4
System.Transactions.TransactionExceptionType.InvalidOperationException
@ InvalidOperationException
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
System
Net
Sockets
Socket
Generated by
1.10.0