U++ framework
Do not panic. Ask here before giving up.

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: 704
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: Fri Jun 19 08:45:43 GMT+2 2026

Total time taken to generate the page: 0.00843 seconds