I've been testing some code and using ktrace to debug. The following error is occurring,
it is linked the following line of code.
sockfd is working fine as the rest of the application works and network traffic flows (over IPv6).
Testing on FreeBSD 7.3-RELEASE GENERIC i386
Is this a bug or am I missing something?
Code:
setsockopt -1 errno 22 Invalid argument
it is linked the following line of code.
Code:
int on = 1;
setsockopt(sockfd, IPPROTO_IPV6, IPV6_DSTOPTS, &on, sizeof(on));
sockfd is working fine as the rest of the application works and network traffic flows (over IPv6).
Testing on FreeBSD 7.3-RELEASE GENERIC i386
Is this a bug or am I missing something?