diff options
| -rw-r--r-- | lirc/connection/lircd_connection.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lirc/connection/lircd_connection.py b/lirc/connection/lircd_connection.py index da190f8..baa7d57 100644 --- a/lirc/connection/lircd_connection.py +++ b/lirc/connection/lircd_connection.py @@ -23,19 +23,19 @@ class LircdConnection(AbstractConnection): address: The address to the socket. Defaults to different values depending on the host operating system. - Linux: "/var/run/lirc/lircd" - Windows: ("localhost", 8765) - Darwin: "/opt/run/var/run/lirc/lircd" + Linux: "/var/run/lirc/lircd" + Windows: ("localhost", 8765) + Darwin: "/opt/run/var/run/lirc/lircd" socket: The socket to use to connect to lircd. The default socket is determined using the host operating system. - For Linux and Darwin, a unix domain socket connection is - used i.e. socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) + For Linux and Darwin, a unix domain socket connection is + used i.e. socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) - However on Windows, a TCP socket is used. i.e. socket.socket( - socket.AF_INET, socket.SOCK_STREAM - ) + However on Windows, a TCP socket is used. i.e. socket.socket( + socket.AF_INET, socket.SOCK_STREAM + ) timeout: The amount of time to wait for data from the socket before we timeout. |