I
I
Idobrodushniy2017-06-20 16:52:31
Computer networks
Idobrodushniy, 2017-06-20 16:52:31

Need help with network connection handling techniques?

Hello. This is the question: what are the select,poll,epoll processing methods? Is it something like certain types of server building architectures or not? Anyone with resources on this would be very grateful.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2017-06-20
@res2001

These are variants of asynchronous connection processing. In principle, all three do the same thing with varying degrees of efficiency.
Actually, these are all 3 POSIX system calls: select (), poll (), epoll ().
select is the oldest one, followed by poll() and epoll().
You can google the differences.

N
nirvimel, 2017-06-20
@nirvimel

select ( wikipedia ) , poll are API functions in Unix systems (included in the POSIX standard) that allow one thread to wait for the completion of many I / O operations, that is, to perform asynchronous I / O.
epoll ( wikipedia ) is a more modern Linux version of pool.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question