Instead of accessing ss_family, cast sockaddr_storage to sockaddr and access sa_family.
3 files changed