Uwe Klein <[email protected]> writes:

> struct sockaddr was a catch all and you had to also hand the size of the
> storage  into the call.

It's a union.   On BSD, struct sockaddr is not guaranteed to be big
eonugh.  For space allocation, use struct sockaddr_storage, which is
guaranteed to be big enough.

Attachment: pgp4oIJGnXeD0.pgp
Description: PGP signature

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to