Re: Retrieving hostname after accept

2009-08-10 Thread Dr. Stephen Henson
On Mon, Aug 10, 2009, Laura Arhire wrote: > Hello > > I have a simple question that I can't find an answer to. I'm writing an > application where every instance is both client and server (a thread is > listening for incoming connections on a predefined port, and at the same > time connections a

Retrieving hostname after accept

2009-08-10 Thread Laura Arhire
Hello I have a simple question that I can't find an answer to. I'm writing an application where every instance is both client and server (a thread is listening for incoming connections on a predefined port, and at the same time connections are created to others whenever they're needed). Whene