Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 22:58:35 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        bodkins <bodkins@ns.prologic.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: repeating - ISC emulation question
Message-ID:  <20020705035835.GG85299@dan.emsphone.com>
In-Reply-To: <200207050359.UAA33652@ns.prologic.com>
References:  <200207050359.UAA33652@ns.prologic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 04), bodkins said:
> Hi,
> 
>    I am having problems getting a simple socket() call to work under IBCS2
> emulation. This is the code as compiled on ISC.
> 
> ...
> 
> int ServerSocket;
> int main(){
> 
>    ServerSocket = socket(2, 1, 6);
>    if ( ServerSocket < 0) {
>       printf("ConnectToServer:Cannot create socket # %d\n", errno);
>       return(-1);
>    }
> 
>    printf("created ok\n");
> 
> }
> 
> 
>    I hardcoded the args just to avoid any header inconsitencies. I get an
> ENOENT (2) error.

Truss or ktrace the executable and find out what file it's looking for
that isn't there.  I'm not sure what ISC is, but I know that SCO
OpenServer 3.2v4.2 stuff works fine under ibcs2.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020705035835.GG85299>