Search Results for

    Show / Hide Table of Contents

    Class Inet.SO.ReceiveBufferSize

    Socket option that sets the ReceiveBuffer size on a socket.

    Inheritance
    object
    Inet.SocketOption
    Inet.SO.ReceiveBufferSize
    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.ReceiveBufferSize : Inet.SocketOption

    Constructors

    | Edit this page View Source

    ReceiveBufferSize(int)

    Creates a new Inet.SO.ReceiveBufferSize option with the specified buffer size.

    Declaration
    public ReceiveBufferSize(int size)
    Parameters
    Type Name Description
    int size

    The receive buffer size in bytes.

    Methods

    | Edit this page View Source

    BeforeConnect(Socket)

    Sets the receive buffer size 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 receive buffer size 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 receive buffer size 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