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

Add support for unix-domain socket #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmmsartor
Copy link

Select and check connection link to telegram-cli daemon.
Available connections from telegram-cli are:

  • Network socket (i.e. localhost:4458) open to all users of the machine
    running the daemon.
  • Unix-domain socket, in this case the address is a file system path,
    and the access to it can be restrain like any system file.

If both address types are specified, unix-domain is preferred.

Relative to issue #102

Select and check connection link to telegram-cli daemon.
Available connections from telegram-cli are:
- Network socket (i.e. localhost:4458) open to all users of the machine
running the daemon.
- Unix-domain socket, in this case the address is a file system path,
and the access to it can be restrain like any system file.
@luckydonald
Copy link
Owner

Looks awesome!
I assume you tested it, I'll merge it later

@tmmsartor
Copy link
Author

I tested it on linux, (but is a linux specific feature),
only with the pong example,
I think is independent from the kind of messages being elaborated.

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

Successfully merging this pull request may close these issues.

2 participants