Module nng::options[][src]

Expand description

Options available to configure NNG constructs.

Many of the options are transport or protocol specific. Additionally, even though the Socket does not have a specific transport, it is able to accept transport options to be used as defaults for any new Dialers or Listeners.

Additionally, a Dialer or Listener is able to read options from the underlying Socket but they are unable to write options unless they are directly supported.

Modules

Options relating to the socket protocol.

Options dealing with the underlying transport.

Enums

The local address used for communication.

The maximum number of “hops” a message may traverse.

Whether or not the socket is in “raw” mode.

The maximum amount of time to wait before attempting to establish a connection after a previous attempt has failed.

The minimum amount of time to wait before attempting to establish a connection after a previous attempt has failed.

The depth of the socket’s receive buffer as a number of messages.

A raw file descriptor that can be used to poll for receiving on a socket.

The maximum message size that the will be accepted from a remote peer.

The socket receive timeout.

The remote address of the peer.

The depth of the socket send buffer as a number of messages.

A raw file descriptor that can be used to poll for sending on a socket.

The socket send timeout.

The socket name.

The URL with which a listener or dialer was configured.

Traits

Marks that a type can get the specific NNG option.

Marks the type as an NNG option.

Trait for getting and setting options.

Marks that a type can set the specific NNG option.