Currently send/recv functions just take them as an int and there are no defines. At the very least there should be static definitions. But would probably be better as a proper 'Flag' type (enum?).