Sockets- one server and many clients, how do I name all the clients
Boyd Roberts
boyd at necisa.ho.necisa.oz
Wed Oct 31 10:11:58 AEST 1990
In article <1990Oct29.223252.14606 at unicorn.wwu.edu> n8743196 at 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 at necisa.ho.necisa.oz.au
``When the going gets wierd, the weird turn pro...''
More information about the Comp.unix.questions
mailing list