Skip to content

Datagram Unix socket doesn't work #36

Open

Description

@lvu

_do_connect() fails if socket_type is "udp" and path is specified instead of host, port

In this case, a UDP socket is created, and then its :connect() method is called, but there is no such method, so attempt to call method 'connect' (a nil value) error is thrown.

A simple fix is here: #35

Activity

  1. flisky commented on Nov 16, 2017

    @flisky

    see #20,almost 1 years old.

  2. lvu commented on Nov 16, 2017

    @lvu
    Author

    You mean nobody cares anymore? :(

  3. JimmyBaize commented on Apr 17, 2021

    @JimmyBaize

    No reason to use udp over UDS.
    https://stackoverflow.com/questions/13953912/difference-between-unix-domain-stream-and-datagram-sockets

    But imuxsock from rsyslog only support udp UDS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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