listen: allocate sockaddr_storage struct for accept()
The generic sockaddr struct is too small for some addresses. For accept(), we have to allocate a sockaddr_storage struct on the stack, which is large enough for all addresses.
This commit is contained in:
Reference in New Issue
Block a user