On Tue, 2006-05-16 at 12:43 +0530, Chaitanya Chalasani wrote:
Hi,
I am using SuSE linux 10.0. To impove performace of network I/O we would like to use poll or epoll. Is it neccesary that /dev/poll and /dev/epoll is required. If so how do we create that devices?
The poll() call has nothing to do with /dev/poll. Where have you seen /dev/poll? In addition to poll(), be sure to look at select(). And SIGIO if you would like the activity to be asynchronous. Meaning that your program can do other things and be interrupted when a monitored port has activity.
Thanks in advance
-- Chaitanya Chalasani ------------------- "The ultimate truths of nature are so subtle that they can be revealed only under immense silence"
-- Roger Oberholtzer OPQ Systems AB Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23