From c08ef361999deefce963b1a907d70acbeabe1382 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 29 Sep 2017 14:02:18 -0700 Subject: [PATCH] docs/ipc: include new Go package, reference example byteorder code (#3000) --- docs/ipc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/ipc b/docs/ipc index 997a3055..526c8e69 100644 --- a/docs/ipc +++ b/docs/ipc @@ -881,6 +881,7 @@ C++:: * https://github.com/drmgc/i3ipcpp Go:: * https://github.com/mdirkse/i3ipc-go + * https://github.com/i3/go-i3 JavaScript:: * https://github.com/acrisci/i3ipc-gjs Lua:: @@ -958,3 +959,6 @@ detect the byte order i3 is using: payload. Then, receive the pending +COMMAND+ message reply in big endian. 5. From here on out, send/receive all messages using the detected byte order. + +Find an example implementation of this technique in +https://github.com/i3/go-i3/blob/master/byteorder.go -- 2.39.5