New options to set send/recv buffer size for TCP sockets.

This commit is contained in:
Jens Auer
2015-10-08 22:06:33 +02:00
committed by Jens Auer
parent c41fe88df6
commit cdeec4c115
6 changed files with 101 additions and 12 deletions

View File

@@ -156,6 +156,10 @@ namespace zmq
typedef std::vector <tcp_address_mask_t> tcp_accept_filters_t;
tcp_accept_filters_t tcp_accept_filters;
// TCO buffer sizes
int tcp_recv_buffer_size;
int tcp_send_buffer_size;
// IPC accept() filters
# if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
bool zap_ipc_creds;