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

support overlay abstract-dgram-listen & unix-dgram-listen #252

Open
wjtxyz opened this issue Jul 16, 2024 · 1 comment
Open

support overlay abstract-dgram-listen & unix-dgram-listen #252

wjtxyz opened this issue Jul 16, 2024 · 1 comment

Comments

@wjtxyz
Copy link

wjtxyz commented Jul 16, 2024

listen for SOCK_DGRAM Unix domain socket

@vi
Copy link
Owner

vi commented Jul 16, 2024

There is already some support using unix-dgram: and abstract-dgram:. You specify two addresses, one should exist, the other should not exist.

Example:

A$ socat  - unix-sendto:/tmp/send.sock,bind=/tmp/receive.sock

B$ websocat -b unix-dgram:/tmp/send.sock:/tmp/receive.sock ws://ws.vi-server.org/mirror

A$
123
123
ABCDE
ABCDE

This mode is inconvenient and was just added for completeness.
What are advantages compared to seqpacket: / seqpacket-listen:?

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

2 participants