[zeromq-dev] Feature requests/thoughts for TCP transport

Felipe Cruz felipecruz at loogica.net
Mon Apr 2 23:53:46 CEST 2012


Pieter

Nowadays, what happens if:

while(true){connect()};

?

cheers,
Felipe

2012/4/2 Pieter Hintjens <ph at imatix.com>

> Hi Sergey,
>
> Our contribution policy is here:
> http://www.zeromq.org/docs:contributing. More broadly we're aiming at
> http://rfc.zeromq.org/spec:16.
>
> You'll have more success presenting changes as answers to specific
> problems, rather than "features".
>
> And yes, we accept pull requests (whereas we don't record feature
> requests).
>
> -Pieter
>
> > 1.        zmq->socket(*)->setsockopt(ZMQ_TCP_KEEPALIVE) on both (server
> and
> > client) ends for fault tolerant connections:
>
> Difficult to do, would probably affect the protocol. But people would
> definitely like it.
>
> > 2.        zmq->socket(*)->setsockopt(ZMQ_TCP_MAX_PEERS, int) before
> > 3.        zmq->socket(*)->setsockopt(ZMQ_TCP_MAX_PEERS_BY_IP, int) before
> > 4.        multiple zmq->socket(*)->setsockopt(ZMQ_TCP_ACCEPT_FROM, cidr)
>
> All highly valuable.
>
> > 5.        zmq->socket(*)->setsockopt(ZMQ_TCP_AUTH_TOKEN, string) on
> server
> > and client sides for peer authentication…. This is though… it breaks
> > protocol compatibility…
>
> Difficult to do, and breaks the protocol. You would need to find ways
> of adding versioning to the protocol first.
>
> > 6.        zmq->socket(*)->disconnect(tcp://connstring) as  the opposite
> to
> > zmq->socket(*)->connect(tcp://connstring)
>
> Valuable, relatively easy to do.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120402/5993ad21/attachment.htm>


More information about the zeromq-dev mailing list