Clone system call example

Reading Time: 2 minutes This is a quick article on Clone system call example without talking shit. So let’s see some pointers for the same : clone() creates a new process, in a manner similar to fork(). It is actually a library function layered on […]

Dealing with Multiple file descriptor : poll() system call

Reading Time: < 1 minute Why use poll() ? Suppose you have to deal with multiple clients connected at the same time. A natural question, then, is: how can you read from multiple file descriptors (sockets) at once? Do you need to make some really […]