erlang: UNIX domain socket support?

后端 未结 4 1236
忘掉有多难
忘掉有多难 2020-12-31 11:18

Is there a way to access UNIX domain sockets (e.g. /var/run/dbus/system_bus_socket ) directly from Erlang without resorting to a third-party driver?

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-31 12:02

    Erlang/OTP comes with drivers for tcp and udp sockets only. So...

    No.

    Third part drivers

    • unixdom_drv in http://jungerl.sourceforge.net/
    • uds_dist in the source tree's driver examples
    • procket at https://github.com/msantos/procket

提交回复
热议问题