In the last episode (Jun 16), Tofik Suleymanov said:
> when using socketpair(2)  on my FreeBSD 6.1-RELEASE-p1 box i get this
> error: "socketpair: Operation not supported"
> 
> And here is the source of my pretty simple socketpair(2) program:
> ---- START ----
> #include <sys/types.h>
> #include <sys/socket.h>
> #include <stdio.h>
> #include <errno.h>
> 
> int main(void) {
> int sv[2], err;
> err = socketpair(AF_INET, SOCK_STREAM, 0, (int*)&sv);
> if(err == -1) {
>        perror("socketpair");
>        return -1;
> }
> 

>From the manpage:

  BUGS
    This call is currently implemented only for the UNIX domain.


-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to