[zeromq-dev] tcp source port

Sébastien Rautureau sebrautureau at gmail.com
Mon Oct 7 20:22:03 CEST 2013


The URI schema is a bit different in the following page :
http://www.ffmpeg.org/ffmpeg-protocols.html#udp

The ffmpeg implementation seems to use :

udp://hostname:port?localaddr=x.x.x.x&localport=yyyy

Sebastien




2013/10/7 Steven McCoy <steven.mccoy at miru.hk>

>
> 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
>
> _______________________________________________
> 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/20131007/57b99263/attachment.htm>


More information about the zeromq-dev mailing list