c++ Programming Glossary: msg_nosignal
boost asio tcp - socket write data different from data in buffer - possible thread unsafety somewhere http://stackoverflow.com/questions/16228509/boost-asio-tcp-socket-write-data-different-from-data-in-buffer-possible-thre 0 NULL msg_iov 1 15 2 msg_controllen 0 msg_flags 0 MSG_NOSIGNAL 2 epoll_wait 4 128 0 0 write 1 15 ctr 204441 n 1515 ctr 204441.. 0 NULL msg_iov 1 15 2 msg_controllen 0 msg_flags 0 MSG_NOSIGNAL 2 epoll_wait 4 128 0 0 write 1 15 ctr 204442 n 1515 ctr 204442.. 0 NULL msg_iov 1 15 2 msg_controllen 0 msg_flags 0 MSG_NOSIGNAL 1 EAGAIN Resource temporarily unavailable epoll_wait 4 EPOLLOUT..
Blocking socket returns EAGAIN http://stackoverflow.com/questions/735249/blocking-socket-returns-eagain around recv int ret do ret recv socket buf len flags MSG_NOSIGNAL while ret 1 errno EAGAIN if ret 1 throw socket_error strerror..
|