Select vs Poll API

The below table lists theĀ  characteristics of Select andĀ  poll API One of the problem statements that both of these APIs suffer from is that the time taken to process File descriptors increases as the number of file descriptors to monitor also increases. This is because, the Linux kernel has to loop through all the […]

The Poll API code example

The Poll API is similar to the select api in its operation. To understand more about the poll API – refer the link provided below. The Poll System Call The current code example uses the poll API to accept incoming socket connections. The Sample code is based on unix sockets but would work as well […]

The Poll System call

The Poll System call performs a similar operation as the select system call. To understand the select system call, an interested reader can visit the below link. The Select System call The poll API differs with select API in the manner in which the file descriptors to be monitored are specified to the Poll API. […]

Select System Call API Code Example

To understand the Select System Call API, kindly look at the article given below. Select System Call The current code example provides a reader an example usage of the select system call. The Unix Socket is used as the socket mechanism, however, Internet sockets also will work the same. The code is provided below. The […]