casting a const struct sockaddr_in*