1. EuNet and accept?

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
http://jeremy.cowgar.com

new topic     » topic index » view message » categorize

2. Re: EuNet and accept?

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu