[zeromq-dev] bind on localhost fails

gonzalo diethelm gdiethelm at dcv.cl
Sun Feb 28 01:29:52 CET 2010


> You should distiguish between "network interface names" and "host
names".
> 
> Network interface names are local to the machine. Say, on Linux, they
> are lo (loopback), eth0 (first ethernet interface) etc. Unfortunately,
> Windows has no sane interface names. The names used are extremely long
> and complex and completely unsuitable for quick referral to a NIC.
Thus,
> on Windows you have to refer to network interfaces using IP number.
> 
> Host names are global names identifying individual boxes
> (myserver.mycompany.com). These are standardised and resolved in the
> same manner on all operating systems.
> 
> Bind binds the socket to local network interface.
> 
> Connect connects the socket to a remote host.
> 
> Makes sense?

Makes perfect sense. And makes for a perfect candidate to documentation!
Thanks for clarifying that for me.

-- 
Gonzalo Diethelm



----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 




More information about the zeromq-dev mailing list