Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Socket review and reimplementation
Re: Socket review and reimplementation [message #9250 is a reply to message #9247] Mon, 23 April 2007 23:11 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
Thanks for working on that.
May I suggest to implement the loop using some pluggable interfaces?

I mean, that in some situations (e.g. web servers), a fully featured mainloop is not needed, but performance is much more important. An other aspect is, that Unixes don't have a generic event handling interface, that can be used for every type of events, like MsgWaitForMultipleObjects on Windows.

I would prefer an extensible API, usable like this or something similar:

MainLoop<StdLoop> mainloop;
or
MainLoop<LibeventLoop> mainloop;

For simple TCP servers on unixes, using libevent as an option some way would be a killer solution because of it's performance.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ & MacOS X Carbon
Next Topic: Windows XP64
Goto Forum:
  


Current Time: Tue Apr 29 01:48:26 CEST 2025

Total time taken to generate the page: 0.00712 seconds