Yes, I am concerned about performance. I am still designing my application, I haven't written any code yet. It is a custom TCP application and an alternative I may be able to do is open several TCP ports and tell the clients to which port to connect.
My main interest with libuv is the IOCP support, which is very appealing, since my application can benefit from running on Win and Lin. Thank you On Wednesday, June 4, 2014 3:12:43 PM UTC+2, Fedor Indutny wrote: > > Hello! > > You could use IPC pipes for it (`uv_pipe_init()` with `1` as a last > argument), but if done in one thread - it won't work with windows (at least > for now). Is there any serious reasons for doing it this way? Or are you > just concerned about performance? > > Cheers, > Fedor. > > > On Wed, Jun 4, 2014 at 9:09 AM, Alejandro Santos <[email protected] > <javascript:>> wrote: > >> Hello, I want to have my server application with just 2 threads: one >> dedicated entirely to accept() and the other one to handle client events. >> Is there any example or limitation on how to do this? >> Thank you >> >> -- >> You received this message because you are subscribed to the Google Groups >> "libuv" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at http://groups.google.com/group/libuv. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
