Re: Some timing info on populating mailboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux