From 17e82a361121dc81c90e17f1382dff678537b651 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 24 Mar 2011 14:48:50 +0100 Subject: ZMQ_SNDBUF and ZMQ_RCVBUF type changed to int This mimics POSIX specification. Signed-off-by: Martin Sustrik --- src/options.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/options.hpp') diff --git a/src/options.hpp b/src/options.hpp index 8b5864e..1699c1a 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -45,8 +45,9 @@ namespace zmq // Reliability time interval [ms]. Default 10 seconds. uint32_t recovery_ivl; - uint64_t sndbuf; - uint64_t rcvbuf; + // SO_SNDBUF and SO_RCVBUF to be passed to underlying transport sockets. + int sndbuf; + int rcvbuf; // Socket type. int type; -- cgit v1.2.3