kaleidic.nanomsg.bindings

Members

Enums

NN_HAUSNUMERO
enum NN_HAUSNUMERO
NN_TYPE
enum NN_TYPE

Constants that are returned in ns member of nn_symbol_properties

NN_UNIT
enum NN_UNIT

Constants that are returned in ns member of nn_symbol_properties

NN_VERSION_CURRENT
enum NN_VERSION_CURRENT

Functions

nn_cmsg_nexthdr_
nn_cmsghdr* nn_cmsg_nexthdr_(const(nn_msghdr)* mhdr, const(nn_cmsghdr)* cmsg)

Internal function. Not to be used directly. Use NN_CMSG_NEXTHDR macro instead.

nn_device
int nn_device(int s1, int s2)
nn_errno
int nn_errno()

This function retrieves the errno as it is known to the library. The goal of this function is to make the code 100% portable, including where the library is compiled with certain CRT library (on Windows) and linked to an application that uses different CRT library.

nn_sockbase_init
void nn_sockbase_init(nn_sockbase* self, const(nn_sockbase_vfptr)* vfptr, void* hint)
nn_strerror
const(char)* nn_strerror(int errnum)

Resolves system errors and native errors to human-readable string.

nn_symbol
char* nn_symbol(int i, int* value)

Returns the symbol name (e.g. "NN_REQ") and value at a specified index. If the index is out-of-range, returns 0 and sets errno to EINVAL General usage is to start at i=0 and iterate until 0 is returned.

nn_tcpmuxd
int nn_tcpmuxd(int port)
nn_term
void nn_term()

Manifest constants

NN_INPROC
enum NN_INPROC;

INPROC

NN_IPC
enum NN_IPC;

IPC

NN_MSG
enum NN_MSG;
NN_PIPEBASE_RELEASE
enum NN_PIPEBASE_RELEASE;
NN_POLLIN
enum NN_POLLIN;
NN_PROTO_BUS
enum NN_PROTO_BUS;

BUS

NN_PROTO_PAIR
enum NN_PROTO_PAIR;

PAIR

NN_PROTO_PIPELINE
enum NN_PROTO_PIPELINE;

PIPELINE

NN_PROTO_PUBSUB
enum NN_PROTO_PUBSUB;

PUBSUB

NN_SOCKBASE_EVENT_IN
enum NN_SOCKBASE_EVENT_IN;
NN_SOCKTYPE_FLAG_NORECV
enum NN_SOCKTYPE_FLAG_NORECV;
NN_TCPMUX
enum NN_TCPMUX;

TCPMUX

NN_WS
enum NN_WS;

WS

PROTO_SP
enum PROTO_SP;

Ported to Dlang (2014,2015,2016) by Laeeth Isharc. Caveat emptor.

REQREP_H_INCLUDED
enum REQREP_H_INCLUDED;

REQREP

SURVEY_H_INCLUDED
enum SURVEY_H_INCLUDED;

SURVEY

Structs

nn_iovec
struct nn_iovec

Meta