Why isn't const used in the socket API to make it clearer? Example: int sctp_sendmsg(int s, const void *msg, size_t len, struct sockaddr *to, socklen_t tolen, uint32_t ppid, uint32_t flags, uint16_t stream_no, uint32_t timetolive, uint32_t context); If i am not missing something, i guess the "struct sockaddr *to" could be const (that is: "const struct sockaddr *to"). Please use const for every paramater where it is possible. This makes usage simpler. There are more functions than the (sctp_sendmsg) where parameters can const. /Roger -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html