[erlang-questions] Unix domain sockets

Benoit Chesneau bchesneau@REDACTED
Sun Mar 23 08:48:29 CET 2014


I am still wondering why such support is not in the erlang stdlib.
That's not like unix sockets are unusual ... Someone that has the
knowledge should really propose a patch :)

On Fri, Mar 21, 2014 at 5:32 AM, Michael Truog <mjtruog@REDACTED> wrote:
> I also am disappointed that unix domain sockets lack support, but I am also
> disappointed there are more internal checks to prevent their use now.  I
> have been able to graft on support, but it isn't pretty (since it needs to
> avoid the internal prim_inet checks):
> https://github.com/CloudI/CloudI/blob/master/src/lib/cloudi_core/src/cloudi_services_external.erl#L1342-L1375
> https://github.com/CloudI/CloudI/blob/master/src/lib/cloudi_core/cxx_src/cloudi_socket_drv.cpp
>
> When I add unix domain sockets this way, I do get an internal ERTS thread
> stuck at 100% CPU (somehow stuck in a tight loop) for unknown reasons, but
> it works fine otherwise.
>
> On 03/19/2014 04:13 PM, James wrote:
>
>
> five years later... and there is still no support for uds, only the uds_dist
> example, which does not even build on linux as it was evidently created for
> solaris.
>
>
>
>
> On Wednesday, March 4, 2009 5:23:21 AM UTC-5, rvirding wrote:
>>
>> I just saw a lament in twitter that Erlang doesn't support Unix domain
>> sockets. Is that so? If not is there a nice link to some documentation
>> explaining that we do and how to do it?
>>
>> Robert
>>
> --
> Remember to send a copy to erlang (dot) questions (at) erlang (dot) org when
> posting.
> ---
> You received this message because you are subscribed to the Google Groups
> "Erlang Programming" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to erlang-programming+unsubscribe@REDACTED
> To post to this group, send email to erlang-programming@REDACTED
> Visit this group at http://groups.google.com/group/erlang-programming.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list