Sockets and Network Programming in C


In this hyper-connected electronic world, knowing how to send and receive data remotely with sockets is crucial. In this article, we will see how a socket is essentially a digital “plug” that we can attach to a local or remote address in order to establish a connection. We will also explore the architecture and system calls that allow us to create not only a client but also a server...

Threads, Mutexes and Concurrent Programming in C


For efficiency or by necessity, a program can be concurrent rather than sequential. Thanks to its concurrent programming and with its child processes or threads and mutexes, it will be able to perform multiple tasks simultaneously. In a previous article, we came to understand how to create child processes, which are one way to implement concurrent programming. Here, we will concentrate on threads...