Added 'new connection from <host>'

git-svn-id: svn://code.dyne.org/veejay/trunk@263 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2005-03-19 10:27:02 +00:00
parent c1bd3b87ac
commit 2ca60d365a

View File

@@ -492,6 +492,10 @@ int vj_server_new_connection(vj_server *vje)
return 0; return 0;
} }
char *host = inet_ntoa( vje->remote.sin_addr );
veejay_msg(VEEJAY_MSG_DEBUG, "Connection with %s", host);
if( vje->nr_of_connections < fd ) vje->nr_of_connections = fd; if( vje->nr_of_connections < fd ) vje->nr_of_connections = fd;
//fcntl( fd, F_SETFL, O_NONBLOCK ); //fcntl( fd, F_SETFL, O_NONBLOCK );