Re: EuNet and accept?
- Posted by Michael J. Sabal <m_sabal at yahoo?co?> Apr 24, 2008
- 652 views
Jeremy Cowgar wrote: > > I just took a peek at EuNet thinking about SCGI and FastCGI. > > Once I create and bind a socket and then listen how do I accept? Normally you > would do the above steps then accept() which will wait for connections and > continue > once a connection is accepted. > > -- > Jeremy Cowgar > <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a> Accept() is a blocking function. I haven't added it yet, but I can see where it would be useful in some server applications. Right now, poll() is the non-blocking analogue that I use for incoming connections. I'll consider the missing accept as a bug and issue a minor revision in the next week or so. Thanks for the heads-up.