[zeromq-dev] zmq and abstract unix domain sockets

Moritz Rosenthal mr at m2mgermany.de
Wed Dec 8 09:07:10 CET 2010


I posted an issue at github:

The only reply was that this topic should be discussed in the mailing
list. As there hasn't started any discussion about it yet I'll start one.

The problem is that abstract unix domain sockets of the style
"\0mysocketname" are accepted, but not handled correctly. I posted some
example here: http://paste.pocoo.org/show/300124/

There are three options how to handle that:
1. There's no problem. There should be a valid path given for a unix
domain socket and if you do something else you're on your own. Then that
should be documented.
2. Throw a readable error if someone tries to use an abstract unix
domain socket.
3. Support abstract unix domain sockets through they are only valid in
GNU/Linux systems.

I think #1 is a bad style, #2 would be ok and #3 is the hyper über cool
solution zmq stands for.

Best regards

Moritz Rosenthal
Wizardry and magic affairs
m2m Germany GmbH
Rudolf-Diesel-Str. 7 (Industriegebiet Nord)
D-61273 Wehrheim
Phone: +49-6081-58738-65
E-Mail: mm at m2mgermany.de
Internet: www.m2mgermany.de
Fax: +49-6081-58738-69
Sitz der Gesellschaft: 61273 Wehrheim
Handelsregister: Bad Homburg HRB 10714
Vertretungsberechtigte Geschäftsführer:
Michael Nickolai / Jörg Parnitzke

Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder
diese E-Mail irrtümlich erhalten haben, informieren Sie bitte
unverzüglich den Absender.

Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist
nicht gestattet.

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Anyunauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.

More information about the zeromq-dev mailing list