should check in_addr_t with s_addr