Provide forward declaration for `struct sockaddr`
Otherwise, at least clang++, forward-declares it inside the namespace `::capnp` and doesn't match it with a real `struct sockaddr` from the header 'socket.h'. Also, accept `const` pointer - there is no point not to do so.
Showing
Please
register
or
sign in
to comment