Xsocket.h linked to C code, so bool not allowed.