[zeromq-dev] tcp source port

Frank Rehberger Frank.Rehberger at web.de
Mon Oct 7 19:05:41 CEST 2013


hmm, in terms of application-deployment it seems useful to have common 
URI-syntax that allows to specify the source IP/port to be used by the 
applicaiton  on a multi-homed host. Regarding applications handling 
various connections and bindings,  it seems useful to declare the 
source-binding for each URI.

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?




"""sourceip=192.168.*.* binding the REQ socket to  the first matching, 
local IP address"""

What do you think?

Kind regards, Frank

On 06.10.2013 22:24, Pieter Hintjens wrote:
> On Sun, Oct 6, 2013 at 5:00 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:
>>> - extend the following tcp uri format by adding an optionnal local port =>
>>> tcp://serveradress:serverport:localport
>> This is clearly breaking the format, so not valid.
> I think this would be backwards compatible, wouldn't it?
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list