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

notify.get: Operation not supported on socket #198

Open
aleclarson opened this issue Apr 18, 2018 · 2 comments
Open

notify.get: Operation not supported on socket #198

aleclarson opened this issue Apr 18, 2018 · 2 comments

Comments

@aleclarson
Copy link

aleclarson commented Apr 18, 2018

I want to know when a socket is created at a specific file path.

I tried using cqueues.notify but got this:

lua: .luarocks/share/lua/5.1/cqueues/notify.lua:9: notify.get: Operation not supported on socket
stack traceback:
	[C]: in function 'error'
	.luarocks/share/lua/5.1/cqueues/auxlib.lua:46: in function <.luarocks/share/lua/5.1/cqueues/auxlib.lua:42>
	(tail call): ?
	test.lua:19: in main chunk
	[C]: ?

Operating system: macOS
Lua version: 5.1

@aleclarson
Copy link
Author

Technically, when getting that error, I can assume the socket is created. But I'm also watching it for MODIFY events.

@daurnimator
Copy link
Collaborator

Do you have a full sample of what you're trying to do?

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

No branches or pull requests

2 participants