Use uint32_t instead of long int for connection options.