[zeromq-dev] tcp source port

Steven McCoy steven.mccoy at miru.hk
Mon Oct 7 19:51:42 CEST 2013


On 7 October 2013 13:05, Frank Rehberger <Frank.Rehberger at web.de> wrote:

> I googled at bit found this page http://en.wikipedia.org/wiki/URI_scheme
>
> Transfering the schema from SSH and SFTP to 0MQ-protocol-URI.... how
> about using something like the following syntax to encode the source
> port into the user-info of the URI,  using the ";"  to delimit the
> key-value parameters from each other?
>
> tcp://sourceport=1200;sourceip=192.168.1.2@host:port/my/path
>
> or:
>
> tcp://username;sourceport=1200;sourceip=192.168.*.*@host:port/my/path
>

Nominally the form would be:

tcp://host:port/?sourcePort=1200&sourceIp=192.168.1.2


But the article has (probably deprecated) precedence for

tcp://host:port/?;sourcePort=1200;sourceIp=192.168.1.2


The most interesting is a mix of SFTP and MPEG-TS UDP streaming:

tcp://sourceaddress@host:port/


Which one may think would be valid to extend thus:

tcp://sourceaddress:sourceport@host:port/


-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131007/6e420dd8/attachment.htm>


More information about the zeromq-dev mailing list