My FIRST Network Application - HELP

Alex Martelli martelli at cadlab.sublink.ORG
Thu Jun 6 20:29:52 AEST 1991


dcb at dave.mis.semi.harris.com (Dave Brillhart) writes:
:I would like some advice before starting my first 'network' application.
	...
:I will be programming in C.  Should I  look into sockets? I've also read
:a little about something called the X/Open transport interface.
:
:ANY suggestions would help at this point.

W. Richard Stevens, "Unix Network programming", Prentice-Hall 1990, ISBN
0-13-949876-1, 748 pages.  GREAT book!  FULL of C source examples, which
you could type in and run immediately; also LOTS of both theoretical and
practical notions and advice, such as, say, 20 pages on what makes a
process a "daemon", checklists of things you should not forget to do when
daemonizing, BSD/SysV differences on the matter, and source snippets.
Heavyweight contender for my coveted award of "Most Useful and Instructive
Technical Book Ever"!

Also look at the very recent post in comp.sources.reviewed of a "super
server" program, that can make ANY other program into a networked server; 
together with a smattering of notions about what a network IS all about
(and client/server programming in general), and (my opinion!) Perl
instead of raw C, this should allow you to fully solve your original
problem VERY fast - say, one week to get and port Perl and supersrv, and
to skim a few chapters of Stevens', one more week to implement and test
(on a small, not-too-heterogeneous network) your application. GO FOR IT!
-- 
Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 53, Bologna, Italia
Email: (work:) martelli at cadlab.sublink.org, (home:) alex at am.sublink.org
Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; 
Fax: ++39 (51) 366964 (work only), Fidonet: 332/407.314 (home only).



More information about the Comp.unix.ultrix mailing list