how to use ioqueue for tcp server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 4, 2011 at 2:56 AM, Gifford Hesketh <gifford at live.com> wrote:
> ? I would like to write a tcp server with a pool of worker threads using the
> ioqueue framework, but I am not exactly sure how to make it work. ?The code
> below (with error checking, etc. omitted) does the following :
>

I don't know why the code doesn't work, but I'd suggest using active
socket instead (activesock.h) which would simplify things a lot.
There's a sample in pjlib test project (see pjlib-test/activesock.c).

 Benny

P.S.
  Please refrain from sending the same email multiple times to the
list. That's just wasting everyone's bandwidth (and time).



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux