tweak: use socklen_t replacing uint