> Depending on the length passed to me in getpeername,
> I fill in the correct members and return it back.
You introduce bug doing this. Length of user buffer is not
correlated with anything, actually new applications are supposed
to set it at least to sizeof(sockaddr_storage). What your protocol
posix requires to truncate address if the length is not enough.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:13 EST