Examine a socket and determine the name/address of the originating host.
[the Webserver part]


Functions

void locate_host (char *tbuf, int client_socket)
 get a hostname

Function Documentation

void locate_host ( char *  tbuf,
int  client_socket 
)

get a hostname

Todo:
buffersize?
Parameters:
tbuf the returnbuffer
client_socket the sock fd where the client is connected

Definition at line 18 of file locate_host.c.

References safestrncpy().

Referenced by session_loop().


Generated on Wed Jun 20 23:13:13 2007 for webcit by  doxygen 1.5.2