mips has different SOCK_ constants