libzmq/doc
Sergey KHripchenko acba6bdd6c Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets.
Assign arbitrary number of filters that will be applied for each new TCP transport
connection on a listening socket.
If no filters applied, then TCP transport allows connections from any ip.
If at least one filter is applied then new connection source ip should be matched.
To clear all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0).
Filter is a null-terminated string with ipv6 or ipv4 CIDR.

For example:
localhost
127.0.0.1
mail.ru/24
::1
::1/128
3ffe:1::
3ffe:1::/56

Returns -1 if the filter couldn't be assigned(format error or ipv6 filter with ZMQ_IPV4ONLY set)

P.S.
The only thing that worries me is that I had to re-enable 'default assign by reference constructor/operator'
for 'tcp_address_t' (and for my inherited class tcp_address_mask_t) to store it in std::vector in 'options_t'...
2012-04-12 18:37:14 +04:00
..
asciidoc.conf doc: Add 0MQ version to XHTML11 backend footer 2010-09-04 17:42:33 +02:00
Makefile.am Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_bind.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_close.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_connect.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_ctx_destroy.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_get.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_new.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_ctx_set.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_device.txt Fixed issue LIBZMQ-333 2012-03-16 16:39:11 -05:00
zmq_epgm.txt Documentation rewrite 2010-03-09 18:47:31 +01:00
zmq_errno.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_getsockopt.txt documentation trimmed down to be just placeholders for who knows english better than me 2012-04-09 13:39:52 +04:00
zmq_init.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_inproc.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_ipc.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_close.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_copy.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_data.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_get.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_init_data.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_init_size.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_init.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_more.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_move.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_msg_recv.txt Added zmq_msg_send/recv functions 2012-02-15 15:37:35 -06:00
zmq_msg_send.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_msg_set.txt Simplified zmq_msg_get/set functions 2012-03-21 14:19:40 -05:00
zmq_msg_size.txt Revert NULL checks in the API 2012-02-17 09:48:04 +00:00
zmq_pgm.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_poll.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_recv.txt Cleaned up description of multi-part messages 2012-02-15 10:39:18 -06:00
zmq_recvmsg.txt Cleaned up description of multi-part messages 2012-02-15 10:39:18 -06:00
zmq_send.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_sendmsg.txt Updating documentation to remove ECANTROUTE error code 2012-02-17 08:01:36 +00:00
zmq_setsockopt.txt Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets. 2012-04-12 18:37:14 +04:00
zmq_socket.txt Fixed issue LIBZMQ-333 2012-03-16 16:39:11 -05:00
zmq_strerror.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_tcp.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq_term.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00
zmq_version.txt Fixed footers to refer to man page, not all docs 2012-02-15 10:39:18 -06:00
zmq.txt Fixed issues #337, #341, and #340 2012-03-19 19:41:20 -05:00