From 5f7289e1f8e1427c9214c8e3e96ad56b1f868d53 Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Wed, 4 Apr 2018 13:36:54 -0700
Subject: fixes #334 Separate context for state machines from sockets

This provides context support for REQ and REP sockets.
More discussion around this is in the issue itself.

Optionally we would like to extend this to the surveyor pattern.

Note that we specifically do not support pollable descriptors
for non-default contexts, and the results of using file descriptors
for polling (NNG_OPT_SENDFD and NNG_OPT_RECVFD) is undefined.

In the future, it might be nice to figure out how to factor in
optional use of a message queue for users who want more buffering,
but we think there is little need for this with cooked mode.
---
 docs/man/nng_getopt.3.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'docs/man/nng_getopt.3.adoc')

diff --git a/docs/man/nng_getopt.3.adoc b/docs/man/nng_getopt.3.adoc
index af61132c..306efbe9 100644
--- a/docs/man/nng_getopt.3.adoc
+++ b/docs/man/nng_getopt.3.adoc
@@ -16,7 +16,7 @@ nng_getopt - get socket option
 == SYNOPSIS
 
 [source, c]
------------
+----
 #include <nng/nng.h>
 
 int nng_getopt(nng_socket s, const char *opt, void *val, size_t *valszp);
@@ -34,7 +34,7 @@ int nng_getopt_size(nng_socket s, const char *opt, size_t *zp);
 int nng_getopt_string(nng_socket s, const char *opt, char **strp);
 
 int nng_getopt_uint64(nng_socket s, const char *opt, uint64_t *u64p);
------------
+----
 
 == DESCRIPTION
 
-- 
cgit v1.2.3-70-g09d2

