[zeromq-dev] proposal: add metadata property "Remote-Endpoint"

Thomas Rodgers rodgert at twrodgers.com
Fri Jan 16 21:54:51 CET 2015


See https://github.com/zeromq/libzmq/pull/1309

Property name is "Peer-Address" since this mirrors the stream_engine member
name used as the source data for the property.

On Thu, Jan 15, 2015 at 6:43 AM, Peter Kleiweg <pkleiweg at xs4all.nl> wrote:

>
> Proposal:
>
> zmq_msg_gets(message, "Remote-Endpoint") should return the IP
> address of the remote endpoint.
>
> This in place of, or as addition to zmq_msg_get(message, ZMQ_SRCFD)
>
> This way, non-C programmers don't have to include C code to
> determine the remote IP address for the socket fd.
>
> (What other use for ZMQ_SRCFD is there?)
>
> --
> Peter Kleiweg
> http://pkleiweg.home.xs4all.nl/
> _______________________________________________
> 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/20150116/346d4906/attachment.htm>


More information about the zeromq-dev mailing list