[comp.sys.att] Socket driver code available

alex@wolf.umbc.edu (Alex Crain) (06/20/89)

	Welp, at long last, I'm ready for to be releasing the beta
version of my socket code for the unixpc. What exactly is it, you ask?

	The code is basically a port of the berkeley uipc_* kernel
code. At this point the driver is incomplete, and Restricted to an
implimentation of SOCK_STREAM and SOCK_DGRAM protocols over the
AF_UNIX domain. The following calls are implemented:

	socket ()
	bind ()
	listen ()
	accept ()
	connect ()
	socketpair ()
	sendto ()
	send ()
	recvfrom ()
	recv ()
	setsockopt ()
	getsockopt ()
	pipe ()

	Note the conspicuous absence of select (). I purposefully saved it
for later, and will add it to the system *real*soon*now*. Part of the reason 
is that I want select to work with both pty's and the keyboard, which I'm
still thinking about.

	In any case, the system is somewhat stablish, and read for beta 
testing. I think that because of the nature of the beast, its best not to
post it, but rather set up a mailing list for the beta testers.

	A Few Words About X ... the hot topic for the summer is, of course,
X windows. X was also the driving factor behind my socket driver, and I
recomend its use as X's ipc mechanism. I will be happy to run a mailing list
for the X port since the beta testers and the X porters are likely to be
the same people.

	*WARNING*WARNING*WARNING*WARNING*WARNING*WARNING*WARNING*

	This is a kernel level device driver and can potentially hose
your system big time. I've tested it some and its laced with enough
calls to panic() so that that if it does go awray, its no likely to do
any serious damage. Expect that it will crash the system, though, and
be prepared for that event. I will say that in developing this driver
(A code/compile/load/run/reboot cycle) I have never done any serious
file system damage.

	If you would like source to the driver, send mail to
alex@umbc3.umbc.edu and I'll send you a copy, retaining your name so
that you can get fixes.

#################################		:alex.
#Disclamer: Anyone who agrees   #    University of Maryland Baltimore County
#with me deserves what they get.#	alex@umbc3.umbc.edu
#################################	alex%nerwin.UUCP@umbc3.umbc.edu

jbm@uncle.UUCP (John B. Milton) (06/21/89)

In article <2126@umbc3.UMBC.EDU> alex@wolf.umbc.edu (Alex Crain) writes:
>	Welp, at long last, I'm ready for to be releasing the beta
>version of my socket code for the unixpc. What exactly is it, you ask?

Fantastic! Assuming the mailing list does spin up, some of the X development
"noise" will not appear here, however progress reports will. Hey Alex, what
did you do about the include files?

John
-- 
John Bly Milton IV, jbm@uncle.UUCP, n8emr!uncle!jbm@osu-cis.cis.ohio-state.edu
(614) h:294-4823, w:466-9324; N8KSN, AMPR: 44.70.0.52; Don't FLAME, inform!