> I wonder if it's possible with Apache 2? > To get hold of the client socket, so that I can poll() > or select() it and implement server push aka Comet
r->connection->cs->pfd.desc.s->socketdes if I'm not mistaken. Check out apr_pollset_create() if you are going to do polling inside Apache or sendmsg(2) if you want to pass the fd to another process.