Some timing info on populating mailboxes

Wesley Craig wes at umich.edu
Sun Dec 17 11:08:07 EST 2006


Sorry, that's backwards:

	int one = 1;

         if (( proto = getprotobyname( "tcp" )) == NULL ) {
             syslog( LOG_ERR, "getprotobyname: %m" );
             return( -1 );
         }

         if ( setsockopt( socket_fd, proto->p_proto, TCP_NODELAY,  
&one, sizeof( one )) != 0 ) {
             syslog( LOG_ERR, "snet_setopt: %m" );
             return( -1 );
         }

Hopefully you get the idea!

:wes


More information about the Info-cyrus mailing list