From 1cbb98e031c4e34b7cb45aac74ee92d128b398ae Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 23 Jan 2020 23:47:53 -0800 Subject: Publishing updates for v1.2.3 --- man/v1.0.0-beta.2/nn_socket.3compat.html | 749 ------------------------------- 1 file changed, 749 deletions(-) delete mode 100644 man/v1.0.0-beta.2/nn_socket.3compat.html (limited to 'man/v1.0.0-beta.2/nn_socket.3compat.html') diff --git a/man/v1.0.0-beta.2/nn_socket.3compat.html b/man/v1.0.0-beta.2/nn_socket.3compat.html deleted file mode 100644 index 09806522..00000000 --- a/man/v1.0.0-beta.2/nn_socket.3compat.html +++ /dev/null @@ -1,749 +0,0 @@ ---- -version: 1.0.0-beta.2 -layout: refman ---- - - - - - - - -nn_socket(3compat) - - - - - - - -
-
-

SYNOPSIS

-
-
-
-
#include <nanomsg/nn.h>
-
-int nn_socket(int af, int proto);
-
-
-
-
-
-

DESCRIPTION

-
-
-

The nn_socket() function creates socket using the address family af and -protocol proto and returns it.

-
-
- - - - - -
- - -This function is provided for API -compatibility with legacy libnanomsg. -Consider using the relevant modern API instead. -
-
-
- - - - - -
- - -Mixing the compatibility API and the modern API is not supported -on a given socket. -
-
-
- - - - - -
- - -Some protocols, transports, and features are only available in the modern API. -
-
-
-

The address family af can be one of two values:

-
-
- - - - - - - - - -
-AF_SP - -

Normal socket.

-
-AF_SP_RAW - -

“Raw mode” socket.

-
-
-
-

The protocol indicates the protocol to be used when creating the socket. -The following protocols are defined:

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-NN_PAIR - -

Pair protocol.

-
-NN_PUB - -

Publisher protocol.

-
-NN_SUB - -

Subscriber protocol.

-
-NN_REQ - -

Requestor protocol.

-
-NN_REP - -

Replier protocol.

-
-NN_PUSH - -

Push protocol.

-
-NN_PULL - -

Pull protocol.

-
-NN_SURVEYOR - -

Surveyor protocol.

-
-NN_RESPONDENT - -

Respondent protocol.

-
-NN_BUS - -

Bus protocol.

-
-
-
-
-
-

RETURN VALUES

-
-
-

This function returns a valid socket number on success, and -1 on failure.

-
-
-
-
-

ERRORS

-
-
- - - - - - - - - - - - - -
-ENOMEM - -

Insufficient memory is available.

-
-ENOTSUP - -

The protocol is not supported.

-
-ETERM - -

The library is shutting down.

-
-
-
-
- -
- - -- cgit v1.2.3-70-g09d2