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.
Showing
Please
register
or
sign in
to comment