Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sdcsvax!ucsdhub!jack!crash!ford From: ford@crash.cts.com (Michael Ditto) Newsgroups: comp.sys.att Subject: Re: SOCKETS? (was Re: Query about the quality of UNIX/PCs and 3b1's) Message-ID: <2241@crash.cts.com> Date: 1 Jan 88 21:46:49 GMT References: <9691@shemp.UCLA.EDU> <18017@clyde.ATT.COM> <997@bakerst.UUCP> <1146@mtunb.ATT.COM> <2420@oxtrap.UUCP> <2208@crash.cts.com> <2603@pbhyf.UUCP> Reply-To: ford@crash.CTS.COM (Michael Ditto) Organization: Crash TS, El Cajon, CA Lines: 45 Summary: Unix PC ethernet software has Berkeley socket calls In article <2603@pbhyf.UUCP> tlh@pbhyf.UUCP (Lee Hounshell) writes: >In article <2208@crash.cts.com> ford%kenobi@crash.CTS.COM (Michael Ditto) writes: > >Does this mean that my 3B1 kernel is capable of supporting Berkeley socket >calls? If so, I could run a *whole bunch* of public domain software that >was written using sockets as an IPC mechanism! Does anyone out there know >how to access it? Or do I need to first get this Ethernet software ($$ ?) The BSD networking system calls are present in the Foundation Set Unix only as 'hooks' that return with an error if the optional networking software is not installed. The library stubs are not in libc, so they can not be called from C anyway. I assume they come with the Ethernet software. Last time I checked, the Ethernet board cost $995.00 and the software for it cost ANOTHER $995.00. The software includes TCP/IP, Berkeley-style sockets, and several internet programs (I seem to remember that telnet and ftp are included). NFS and RFS are not available. I don't know whether the software would work without the Ethernet board. Also, I don't think the Berkeley select system call is possible on System V without significant change to all existing device drivers, so if it is included, I don't think it would work on anything but sockets. This might prevent some BSD programs from working. >Similarly, is it possible to access the streams system and/or create new >drivers using it? If you're reading this, AT&T/Convergent, why didn't you >include the librarys/documentation needed to use these tools with the 3B1? Althouh some streams data structures are present in the kernel, none of the streams code seems to be there. I don't know if it is included as part of some other package; maybe it comes with the Ethernet or StarLan software. If anyone wants to see evidence of both streams and BSD networking on the Unix PC, take a look at "/usr/include/sys/errno.h": #define ENOSTR 60 /* Device not a stream */ [ ... ] #define ENOTSOCK 229 /* Socket operation on non-socket */ -- Mike Ditto -=] Ford [=- P.O. Box 1721 ford%kenobi@crash.CTS.COM Bonita, CA 92002 ford@crash.CTS.COM