-
Trying to get devices info through this socket, sending the following message: char msg[] = "j/devices";
write(sockets->sock1, msg, sizeof(msg)); but the app stops from the SIGPIPE signal... What am i doing wrong? P.S. The socket is correct, value |
Beta Was this translation helpful? Give feedback.
Answered by
vaxerski
Oct 19, 2023
Replies: 1 comment 1 reply
-
you can read the hyprctl source. Generally you probably shouldn't rawdog socket1. you write your stuff, you |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
llem00n
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can read the hyprctl source. Generally you probably shouldn't rawdog socket1.
you write your stuff, you
read()
instantly for a reply, and once you get one youclose()