Sign in to follow this  

Addaptive Comm Env (ACE)

Recommended Posts

I wonder? Has enyone heard of ACE and can you help me with something? I have defined tServer class and it have pointer to ACE_Reactor, (the main pointer). Ad when I declare my tServer it does initialize constructor that puts that server to listen mode, and when any client opens connection to server the server calls handle_input method. And in that mehod i get the message I need to and use switch to decide wath to do, based on mesage. but after that I return 0 (everything is OK). But after a client closes connection the program exits Here's the quetion: How do I put the tServer object in loop so when client closes connection, server continues to work in listen mode? (I'm a newbie in it myself.)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this