Data Fields
vtm_nm_dgram_srv_opts Struct Reference

Data Fields

struct vtm_socket_addr addr
struct vtm_nm_dgram_srv_cbs cbs
unsigned int threads

Detailed Description

Defines the options with which the server runs

Field Documentation

struct vtm_socket_addr vtm_nm_dgram_srv_opts::addr

The binding address and port

struct vtm_nm_dgram_srv_cbs vtm_nm_dgram_srv_opts::cbs

Callbacks to use while running. At least the msg_recv callback MUST be set.

unsigned int vtm_nm_dgram_srv_opts::threads

Number of worker threads to use. Setting this value to zero lets the server run in single threaded mode.