From 45f455064b5704f3d5ed8ecf9f197a18fe72ee59 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 4 Apr 2018 12:37:34 -0700 Subject: fixes #331 replace NNG_OPT_RAW option with constructor This makes the raw mode something that is immutable, determined at socket construction. This is an enabling change for the separate context support coming soon. As a result, this is an API breaking change for users of the raw mode option (NNG_OPT_RAW). There aren't many of them out there. Cooked mode is entirely unaffected. There are changes to tests and documentation included. --- docs/man/nng_pull.7.adoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs/man/nng_pull.7.adoc') diff --git a/docs/man/nng_pull.7.adoc b/docs/man/nng_pull.7.adoc index 9cc17bca..c57515c5 100644 --- a/docs/man/nng_pull.7.adoc +++ b/docs/man/nng_pull.7.adoc @@ -16,11 +16,9 @@ nng_pull - pull protocol == SYNOPSIS [source,c] ----------- +---- #include - -int nng_pull0_open(nng_socket *s); ----------- +---- == DESCRIPTION @@ -37,7 +35,7 @@ This property makes this pattern useful in ((load-balancing)) scenarios. === Socket Operations -The <> call creates a puller socket. +The <> functions create a puller socket. This socket may be used to receive messages, but is unable to send them. Attempts to send messages will result in `NNG_ENOTSUP`. -- cgit v1.2.3-70-g09d2