From owner-freebsd-questions Thu Jul 4 20:58:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82AEA37B400 for ; Thu, 4 Jul 2002 20:58:36 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04F3643E09 for ; Thu, 4 Jul 2002 20:58:36 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g653wZZW061030; Thu, 4 Jul 2002 22:58:35 -0500 (CDT) (envelope-from dan) Date: Thu, 4 Jul 2002 22:58:35 -0500 From: Dan Nelson To: bodkins Cc: freebsd-questions@FreeBSD.ORG Subject: Re: repeating - ISC emulation question Message-ID: <20020705035835.GG85299@dan.emsphone.com> References: <200207050359.UAA33652@ns.prologic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207050359.UAA33652@ns.prologic.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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