sockets under ESIX Rev. D - beginner's question

David E. Johnson dave at cs.olemiss.edu
Sat Dec 1 04:02:15 AEST 1990


pirx at wedel.hanse.de (Jan Hinnerk Haul) writes:

>I'm at the end of my wits, so methinks I should ask the gurus...

>Just beginning to play with sockets (wanting to build a multi-machine
>chat program), I receive core dumps in listen().

>The code below is not mine; I changed only some #include directives
>(ESIX has the network stuff in /usr/include/lan) and inserted one or
>two printfs. The main() is mine, of course.

>The code belows cores in listen(). Here it goes:

....code deleted....

>Any help would be appreciated - but please do not send me long mails, I
>have to pay for them :-(

>Best regards
>Jan


The problem with the socket code you included and ESIX V is that ESIX
does not have a true socket library.  The listen() call in ESIX is
based on t_listen(), not like BSD.  Therefore, all BSD software using
sockets will _not_ work with ESIX without major changes to the socket
calls. 

The Network programmers manual for ESIX gives the definitions of the
socket library calls, but does not explain there function.

Your best off to convert the code to use the TLI functions instead of
working with their incompatible socket library.

BTW, ESIX is working on System V/R4 for production next year. That
release will have complete socket implementation.

-- 
David E. Johnson
Department of Computer Science ** Title:	Systems Programmer
The University of Mississippi  ** Telephone:	(601) 232-7396
336 Weir Hall                  ** Internet:	dave at cs.olemiss.edu



More information about the Comp.unix.programmer mailing list