nn_socktype

The socktype class: This structure defines a class factory for individual socket types.

extern (C) @nogc nothrow nothrow @nogc
struct nn_socktype {
int domain;
int protocol;
int flags;
int function(void* hint, nn_sockbase** sockbase) create;
int function(int socktype) ispeer;
nn_list_item* item;
}