Creative Commons License

asynchronous socket IT



bool
setAsync(int fd)
{
    int flags(fcntl(fd, F_GETFL));
    return !( 0 > fcntl(fd, F_SETFL, flags|O_NONBLOCK) );
}


Powered by ScribeFire.



Google Adsense

Google Adsense

Google Analytics



C로그팬박스