ContentsIndex
Example
vm_soc_select
 timeval timeout;
 fd_set writefds;
 timeout.tv_sec = 0;
 timeout.tv_usec = 2000;
 FD_ZERO(&writefds);
 FD_SET((bf_u32)sockIds[sock].id, &writefds);
 if (vm_soc_select(sockIds[sock].id+1, 0, &writefds, 0, &timeout) >= 0)
 {
    if (FD_ISSET(sockIds[sock].id, &writefds))
    {
        //socket is ready for writting data
    }
 }
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.