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

◆ SetMulticastOption()

void System.Net.Sockets.Socket.SetMulticastOption ( SocketOptionName optionName,
MulticastOption MR )
inlineprivate

Definition at line 3508 of file Socket.cs.

3509 {
3510 SocketError socketError = SocketPal.SetMulticastOption(_handle, optionName, MR);
3511 if (System.Net.NetEventSource.Log.IsEnabled())
3512 {
3513 System.Net.NetEventSource.Info(this, $"SetMulticastOption returns errorCode:{socketError}", "SetMulticastOption");
3514 }
3515 if (socketError != 0)
3516 {
3518 }
3519 }
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.SetMulticastOption(), and System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException().

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