Class Inet.SO.ReceiveBufferSize
Socket option that sets the ReceiveBuffer size on a socket.
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Inet.SO.ReceiveBufferSize : Inet.SocketOption
Constructors
| Edit this page View SourceReceiveBufferSize(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 SourceBeforeConnect(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
| Edit this page View SourceBeforeDatagramBind(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
| Edit this page View SourceBeforeServerSocketBind(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. |
Edit this page