Starlan,tcp/ip streams/sockets on 7300?

Lenny Tropiano lenny at icus.UUCP
Wed May 18 08:34:39 AEST 1988


In article <2090 at rtech.UUCP> daveb at rtecn.UUCP writes:
|>
|>I am looking for some way to get SVR3ish STREAMS or sockets on my 7300. 
|>I had heard that either the Starlan software or the TCP/IP software in
|>fact included one or the other beneath the covers, and I'd be willing to
|>pay real money for one of them if this were true.
|>
...
You've brought up a very interesting point.  Can someone just buy the
software that puts the "hooks" in the operating system to provide sockets,
STREAMS, and RFS?   It seems like the /usr/include/sys/errno.h file has
the errors already there to support the function calls.

Following excerpt from /usr/include/sys/errno.h (3.51)
...
/* Errors from 4.2 BSD picked up to support sockets */
/* Note that the numbers are different from 4.2 numbering */

/* non-blocking and interrupt i/o */
#define	EWOULDBLOCK	226		/* Operation would block */
#define	EINPROGRESS	227		/* Operation now in progress */
#define	EALREADY	228		/* Operation already in progress */
/* ipc/network software */

	/* argument errors */
#define	ENOTSOCK	229		/* Socket operation on non-socket */
#define	EDESTADDRREQ	230		/* Destination address required */
#define	EMSGSIZE	231		/* Message too long */
#define	EPROTOTYPE	232		/* Protocol wrong type for socket */
#define	EPROTONOSUPPORT	233		/* Protocol not supported */
#define	ESOCKTNOSUPPORT	234		/* Socket type not supported */
...

	/* operational errors */
#define	ENETDOWN	240		/* Network is down */
#define	ENETUNREACH	241		/* Network is unreachable */
...
#define	ETIMEDOUT	250		/* Connection timed out */
#define	ECONNREFUSED	251		/* Connection refused */

/* should be rearranged */
#define	EHOSTDOWN	252		/* Host is down */
#define	EHOSTUNREACH	253		/* No route to host */
#define	ENOPROTOOPT	254		/* Protocol not available */

-Lenny
-- 
US MAIL  : Lenny Tropiano, ICUS Computer Group        IIIII  CCC U   U  SSS
           PO Box 1                                     I   C    U   U S
           Islip Terrace, New York  11752               I   C    U   U  SS 
PHONE    : (516) 968-8576 [H] (516) 582-5525 [W]        I   C    U   U    S
TELEX    : 154232428 [ICUS]                           IIIII  CCC  UUU  SSS 
AT&T MAIL: ...attmail!icus!lenny  
UUCP     : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny 



More information about the Unix-pc.general mailing list