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_respondent.7.adoc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/man/nng_respondent.7.adoc') diff --git a/docs/man/nng_respondent.7.adoc b/docs/man/nng_respondent.7.adoc index 1235941a..2db78866 100644 --- a/docs/man/nng_respondent.7.adoc +++ b/docs/man/nng_respondent.7.adoc @@ -18,8 +18,6 @@ nng_respondent - respondent protocol [source,c] ---------- #include - -int nng_respondent0_open(nng_socket *s); ---------- == DESCRIPTION @@ -41,7 +39,7 @@ The _respondent_ protocol is the respondent side, and the === Socket Operations -The <> call creates a +The <> functions create a respondent socket. This socket may be used to receive messages, and then to send replies. A reply can only be sent after receiving a survey, and generally the -- cgit v1.2.3-70-g09d2