[comp.sources.d] Need help with sockets

dcm@sfsup.UUCP (David C. Miller, consultant) (05/08/87)

Could someone who is a sockets wizard send me some skeleton
programs that would show me how to set up clients and
servers using sockets?

All I really need to know is what syscalls in what order and
with what arguments.  

Also I'd appreciate any hints or tips that make IPC easier
and any "gotcha's!" to watch out for.

Please send email!

				Thanks,
				    Dave

--
David C. Miller, consultant
Communications Interface Addresses:
    Paperware:  AT&T Information Systems, 190 River Road, Summit, NJ  07901
    Software:  {allegra,burl,cbosgd,clyde,ihnp4,ulysses}!sfsup!dcm
    Liveware:  (201) 522-6107
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On good days life is T.A.N.S.T.A.A.F.L.
On days like today:  T.A.N.S.T.A.A.L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

josh@hi.UUCP (Josh Siegel) (05/10/87)

In article <1409@sfsup.UUCP> dcm@sfsup.UUCP (David C. Miller, consultant) writes:
>Could someone who is a sockets wizard send me some skeleton
>programs that would show me how to set up clients and
>servers using sockets?
>
>All I really need to know is what syscalls in what order and
>with what arguments.  
>
>Please send email!
>
>				Thanks,
>				    Dave

I had some problems mailing this so I'll post it...

A while back I posted a networking library that gave
 wonderful (At least I think so :-)) examples of how to do 
 almost everything.  If you are interested I will send a copy to you.

Also,  I am interested in getting comments from anybody who is
 using the library because I am about to start a rewrite.  I
 used it for a big project recently and decided it needed some
 tweeks.


-- 
Josh Siegel		(siegel@hc.dspo.gov)
	It's a 9mm hand gun... useful for killing people... 
		If you're into that sorta thing...