Search Results for

    Show / Hide Table of Contents

    Class Inet.SO.ReuseAddress

    Socket option that enables or disables ReuseAddress on a socket.

    Inheritance
    object
    Inet.SocketOption
    Inet.SO.ReuseAddress
    Inherited Members
    Inet.SocketOption.AfterConnect(Socket)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public class Inet.SO.ReuseAddress : Inet.SocketOption

    Constructors

    | Edit this page View Source

    ReuseAddress(bool)

    Creates a new Inet.SO.ReuseAddress option.

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

    true to enable address reuse; false to disable it.

    Methods

    | Edit this page View Source

    BeforeConnect(Socket)

    Sets the reuse address option on the socket before connecting.

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

    The socket to configure.

    Overrides
    Inet.SocketOption.BeforeConnect(Socket)
    | Edit this page View Source

    BeforeDatagramBind(Socket)

    Sets the reuse address option on the datagram socket before binding.

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

    The datagram socket to configure.

    Overrides
    Inet.SocketOption.BeforeDatagramBind(Socket)
    | Edit this page View Source

    BeforeServerSocketBind(Socket)

    Sets the reuse address option on the server socket before binding.

    Declaration
    public override void BeforeServerSocketBind(Socket ss)
    Parameters
    Type Name Description
    Socket ss

    The server socket to configure.

    Overrides
    Inet.SocketOption.BeforeServerSocketBind(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