Search Results for

    Show / Hide Table of Contents

    Class Udp.SO.Broadcast

    Inet.SocketOption to set the SO_BROADCAST option

    For more information see cref="System.Net.Sockets.Socket.EnableBroadcast"/>

    Inheritance
    object
    Inet.SocketOption
    Udp.SO.Broadcast
    Inherited Members
    Inet.SocketOption.BeforeServerSocketBind(Socket)
    Inet.SocketOption.BeforeConnect(Socket)
    Inet.SocketOption.AfterConnect(Socket)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public sealed class Udp.SO.Broadcast : Inet.SocketOption

    Constructors

    | Edit this page View Source

    Broadcast(bool)

    Creates a new Broadcast socket option with the specified on/off state.

    Declaration
    public Broadcast(bool on)
    Parameters
    Type Name Description
    bool on

    Whether to enable broadcasting.

    Properties

    | Edit this page View Source

    On

    Indicates whether broadcasting is enabled.

    Declaration
    public bool On { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    BeforeDatagramBind(Socket)

    Applies the broadcast option to the socket before binding.

    Declaration
    public override void BeforeDatagramBind(Socket s)
    Parameters
    Type Name Description
    Socket s

    The socket to apply the option to.

    Overrides
    Inet.SocketOption.BeforeDatagramBind(Socket)

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET