Use socklen_t instead of int32_t. They are the same and always will be probably, but lets do it for clarity...