Search Results for

    Show / Hide Table of Contents

    Class Inet.SocketOption

    Base class for socket options that can be applied at various stages of a socket's lifecycle.

    Inheritance
    object
    Inet.SocketOption
    Inet.AbstractSocketOption
    Inet.DatagramChannelCreator
    Inet.SO.ReceiveBufferSize
    Inet.SO.ReuseAddress
    Inet.SO.SendBufferSize
    Inet.SO.TrafficClass
    Inet.SocketOptionV2
    Udp.SO.Broadcast
    Inherited Members
    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 abstract class Inet.SocketOption

    Methods

    | Edit this page View Source

    AfterConnect(Socket)

    Called after a client socket connects. Override to configure socket options after connecting.

    Declaration
    public virtual void AfterConnect(Socket s)
    Parameters
    Type Name Description
    Socket s

    The connected socket to configure.

    | Edit this page View Source

    BeforeConnect(Socket)

    Called before a client socket connects. Override to configure socket options prior to connecting.

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

    The socket to configure.

    | Edit this page View Source

    BeforeDatagramBind(Socket)

    Called before binding a datagram (UDP) socket. Override to configure socket options prior to binding.

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

    The datagram socket to configure.

    | Edit this page View Source

    BeforeServerSocketBind(Socket)

    Called before binding a server (TCP listener) socket. Override to configure socket options prior to binding.

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

    The server socket to configure.

    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