Typedef ng::socket_t#

Typedef Documentation#

using ng::socket_t = uint32_t#

Indicate the different types that a socket can represent. 0 is supposed to be reserved as an equivalent of None/null. Each type is represented by a bit (bit mask) and a socket with several possible types can be represented by combining several types using the bitwise operator ‘|’. The null_socket_type represents a socket with no type assigned. The all_socket_type represents a socket that can accept all types.