From: Michael Stapelberg Date: Fri, 29 Sep 2017 21:02:18 +0000 (-0700) Subject: docs/ipc: include new Go package, reference example byteorder code (#3000) X-Git-Tag: 4.15~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c08ef361999deefce963b1a907d70acbeabe1382;p=i3%2Fi3 docs/ipc: include new Go package, reference example byteorder code (#3000) --- 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