aboutsummaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-22 21:34:49 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-22 21:34:49 -0800
commit29628309ae018c3f317eef9b03625d4ce3807a92 (patch)
tree35f4df616b15f8e343a25b095c4ab76242275841 /src/core/socket.h
parent32cfbaccd7ac89c00207e5d1345d23abf455ce16 (diff)
downloadnng-29628309ae018c3f317eef9b03625d4ce3807a92.tar.gz
nng-29628309ae018c3f317eef9b03625d4ce3807a92.tar.bz2
nng-29628309ae018c3f317eef9b03625d4ce3807a92.zip
Added lingering (1s default.)
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 5b321ae7..ff6a63d5 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -25,10 +25,10 @@ struct nng_socket {
void * s_data; // Protocol private
// XXX: options
+ nni_duration s_linger;
nni_list_t s_eps; // active endpoints
nni_list_t s_pipes; // pipes for this socket
- nni_list_t s_reap_eps; // endpoint deathrow
int s_closing; // Socket is closing
int s_besteffort; // Best effort mode delivery