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

◆ SetIPv6MulticastOption()

void System.Net.Sockets.Socket.SetIPv6MulticastOption ( SocketOptionName optionName,
IPv6MulticastOption MR )
inlineprivate

Definition at line 3521 of file Socket.cs.

3522 {
3523 SocketError socketError = SocketPal.SetIPv6MulticastOption(_handle, optionName, MR);
3524 if (System.Net.NetEventSource.Log.IsEnabled())
3525 {
3526 System.Net.NetEventSource.Info(this, $"SetIPv6MulticastOption returns errorCode:{socketError}", "SetIPv6MulticastOption");
3527 }
3528 if (socketError != 0)
3529 {
3531 }
3532 }
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
SafeSocketHandle _handle
Definition Socket.cs:533
void UpdateStatusAfterSocketErrorAndThrowException(SocketError error, [CallerMemberName] string callerName=null)
Definition Socket.cs:3715

References System.Net.Sockets.Socket._handle, System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.Net.Sockets.SocketPal.SetIPv6MulticastOption(), and System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException().

Referenced by System.Net.Sockets.Socket.SetSocketOption().