The main advantage is when targeting sway/wayland instead of i3/x11; sway doesn't package ipc.h. There *is* an ipc.h in the sway sources, but it doesn't define e.g the header format, and has different names for the constants.