Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!samsung!munnari.oz.au!metro!cluster!necisa!boyd From: boyd@necisa.ho.necisa.oz (Boyd Roberts) Newsgroups: comp.unix.questions Subject: Re: Sockets- one server and many clients, how do I name all the clients Keywords: sockets, Jim Frost's Quick and Dirty Socket Primer Message-ID: <1905@necisa.ho.necisa.oz> Date: 30 Oct 90 23:11:58 GMT References: <1990Oct29.223252.14606@unicorn.wwu.edu> Distribution: comp Organization: NEC Information Systems Australia Pty. Ltd. Lines: 13 In article <1990Oct29.223252.14606@unicorn.wwu.edu> n8743196@unicorn.wwu.edu (Jeff Wandling) writes: > >The sample program you gave with the primer works good. I'd also like >to know WHO is connected. In other words, If someone connects, can >your program be modified to show the address of the site that is >connected. getpeername(3) will tell you who's on the other end. Boyd Roberts boyd@necisa.ho.necisa.oz.au ``When the going gets wierd, the weird turn pro...''