sendmsg returns number not bool