*BSD News Article 71561


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!nntp.earthlink.net!news.sprintlink.net!news-stk-3.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: socketpair() in 2.2-960612-SNAP
Date: 20 Jun 1996 17:17:37 GMT
Organization: SRI Intl. - Montana Operations
Lines: 23
Message-ID: <4qc13h$12i@helena.MT.net>
References: <kurzaev-2106960147180001@boris.macsimum.gamma.ru>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

[ Emailed to poster as well ]

In article <kurzaev-2106960147180001@boris.macsimum.gamma.ru>,
Boris Lavrinovich <kurzaev@macsimum.gamma.ru> wrote:
>I installed 2.2-960612-SNAP and discovered that socketpair() system call
>returns "File exists" error in my programs. I used Linux before and
>suppose that there should be /dev/unix device but there is no such device.

Why should there be a /dev/unix device?

>Should I set any options in kernel to make it work? I did not find any.

It should work fine now.  What does your code look like?  I suspect you
are using some sort of non-portable Linuxism (is that a word?) that doesn't
exist on FreeBSD.


Nate
-- 
nate@sri.com           | Research Engineer, SRI Intl. - Montana Operations
nate@trout.mt.sri.com  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana (all the crazies are now in jail 'cept us
home #: (406) 443-7063 | natives). - Fly fishing fanatic!