no longer printing messages when connections established
git-svn-id: svn://anubis/fart/trunk@243 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
parent
37c319a782
commit
a82110ab24
@ -243,8 +243,8 @@ void distrib_server(distrib * the_distrib)
|
|||||||
if (client_socket < 0)
|
if (client_socket < 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#if 0
|
||||||
int cip = ntohl(client_addr.sin_addr.s_addr);
|
int cip = ntohl(client_addr.sin_addr.s_addr);
|
||||||
|
|
||||||
cout << "Connection from "
|
cout << "Connection from "
|
||||||
<< (unsigned int) ((cip >> 24) & 0xFF)
|
<< (unsigned int) ((cip >> 24) & 0xFF)
|
||||||
<< '.'
|
<< '.'
|
||||||
@ -256,6 +256,7 @@ void distrib_server(distrib * the_distrib)
|
|||||||
<< ':'
|
<< ':'
|
||||||
<< client_addr.sin_port
|
<< client_addr.sin_port
|
||||||
<< endl;
|
<< endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
distrib::connection_thread_arg_t * arg =
|
distrib::connection_thread_arg_t * arg =
|
||||||
new distrib::connection_thread_arg_t;
|
new distrib::connection_thread_arg_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user