Class Inet.SocketOption
Base class for socket options that can be applied at various stages of a socket's lifecycle.
Inheritance
Inet.SocketOption
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public abstract class Inet.SocketOption
Methods
| Edit this page View SourceAfterConnect(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. |
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. |
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. |
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. |
Edit this page