Skip to content

Connect to unix socket #1040

@ralight

Description

@ralight

Would you consider support for connecting to unix sockets? The use case is a local application wanting to connect to a local MQTT broker without having to create a network.

It looks like lib/connect/unix.js would be very similar to tcp.js, but with this sort of construct instead:

    unixpath = '/var/run/mqtt.socket'

    return net.createConnection(unixpath)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions