Re: [Pixil-devel] ask for help
"Greg Haerr" <[email protected]> Wed, 8 Feb 2006 10:49:19 -0700
| Newsgroups | gmane.comp.web.viewml.devel |
|---|---|
| Message-ID | <07f801c62cd7$fc7cdcb0$0300a8c0@RDP> |
: i guest the side effect of wirte(sock, 0, 0) is to make this sock : readable, so than when some packet queued, it make the : sock readable, so when client use select(...) call, it will return : immedialely, not blocked forever if no new packet in, and : have chance to get packet queued, if it right? I believe that the write is to trigger any pending selects to unblock their threads/processes. Regards, Greg