[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modules
Subject:    [apache-modules] apr_poll example for 2 sockets
From:       Christian Parpart <cparpart () surakware ! net>
Date:       2004-01-08 22:24:58
Message-ID: 200401082325.03103.cparpart () surakware ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

I must poll on 2 internet sockets to respond very quickly. I first did this by 
my own generic implementation (multi threaded), but I believe that apache 
didn't like it since I really get strange behavior I can't trace back.

I'd like to poll on 2 sockets for 60 seconds, in a loop, and would like to 
react on them if one has a read even.

Unfortunately, I have no clue how to do this with apr_poll's.

Please help me giving me a little example you have once written, something 
little where I can see how it works.

Best regards,
Christian Parpart.

- -- 
Linux 2.6.1-bk6 AMD Athlon(tm) MP Processor 1500+
 23:18:38 up 2 days, 10:09,  3 users,  load average: 0.69, 0.74, 0.80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQE//di8Ppa2GmDVhK0RAqCIAJ4kFwOcT1Dtsv0SVrt65PjWtI4XQQCggQCE
kfjVD9FFR5vasSyAvXj3coI=
=0JuN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
For additional commands, e-mail: apache-modules-help@covalent.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic