Changed to use sockaddr_storage structure.