[zeromq-dev] 0MQ/2.0-beta1 on OSX

Asko Kauppi askok at dnainternet.net
Wed Jan 13 22:59:26 CET 2010


Martin Sustrik kirjoitti 13.1.2010 kello 10:49:

> Hi Asko,
>
>> Also I was able to compile 2.0 (alpha) without problems.
>> - One thing to note is that samples say "eth0", which needs to be   
>> "en0" on OS X. Maybe the authors find a way to convey that on the   
>> website?
>
> Any particular point you want it to be placed? Also keep in mind  
> that network interface names are not standardised so it differs  
> among OSes. Say on Solaris you'll probably have something like  
> "e1000g".

Exactly.

I think using "eth0" in the samples is fine. One might mention before  
the first such case that on OS X it is "en0", on ... (and so on). Now  
this knowledge is silently assumed.

>
>> - How can one run the samples on one machine only (local  
>> loopback)?    This must be some simple thing I've overlooked.
>
> Use loopback interface (127.0.0.1 or however it is called on OSX).

Ah. Of course. "localhost" failed - this should work.

-asko





More information about the zeromq-dev mailing list