Use socklen_t instead of size_t