c++ Programming Glossary: read_flags
Using select() for non-blocking sockets http://stackoverflow.com/questions/6715736/using-select-for-non-blocking-sockets their_addr socklen_t their_addr_size fd_set read_flags write_flags the flag sets to be used struct timeval waitd the.. int numSent int numRead while 1 waitd.tv_sec 10 FD_ZERO read_flags FD_ZERO write_flags FD_SET new_sd read_flags if strlen out 0.. 10 FD_ZERO read_flags FD_ZERO write_flags FD_SET new_sd read_flags if strlen out 0 FD_SET new_sd write_flags sel select new_sd..
|