Overview
Features
Download
Documentation
Community
Add-Ons & Services

Clarifications on SocketReactor

Please post support and help requests here.

Clarifications on SocketReactor

Postby aderouineau » 07 Jul 2009, 18:45

Is select() the only method used for polling?

Would you guys then recommend not using Poco's Reactor to handle many concurrent connections (they have a very short life-span but there could be a few thousands per second)? Should I look after ASIO?

Thanks!
aderouineau
 
Posts: 163
Joined: 18 May 2009, 17:38

Re: Clarifications on SocketReactor

Postby guenter » 15 Jul 2009, 09:23

The trunk version of Socket::select() can alternatively use poll() if its available. I also have a patch somewhere lying around (should someday be included in a release...) that implements Socket::select() on Linux using kqueue/kevent. I can send you that, if you like.
guenter
 
Posts: 1129
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Clarifications on SocketReactor

Postby aderouineau » 15 Jul 2009, 22:06

Thanks but I actually decided to switch to ASIO. It's more complicated but much much more robust.

You guys should think about wrapping against ASIO and making it more Java/C# ish in its use.
aderouineau
 
Posts: 163
Joined: 18 May 2009, 17:38


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron