ローカルホストの名前を取得
int gethostname( &br;    char* name,&br;int namelen&br;);
----
name
-A pointer to a buffer that will receive the host name. 

namelen
-The length of the buffer.