Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datagram Unix socket doesn't work #36

Open
lvu opened this issue Nov 15, 2017 · 4 comments
Open

Datagram Unix socket doesn't work #36

lvu opened this issue Nov 15, 2017 · 4 comments

Comments

@lvu
Copy link

lvu commented Nov 15, 2017

_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

@flisky
Copy link

flisky commented Nov 16, 2017

see #20,almost 1 years old.

@lvu
Copy link
Author

lvu commented Nov 16, 2017

You mean nobody cares anymore? :(

@idanga
Copy link

idanga commented Jun 12, 2020

@JimmyBaize
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants