Creating TCP sockets
The above image shows the sequence of steps for a Server and client to create a TCP client server communication. For creating a TCP server: 1.…
Creating UDP sockets
The above image shows the sequence of steps for a Server and client to create a UDP client server communication. For creating a UDP server: 1.…
Creating Linux Sockets using C Introduction.
In this chapter we shall learn about Linux Sockets. Linux sockets is one of the IPC (Inter Process Communication) mechanism. It will give 2…
Pthread Introduction Part 2
In the previous chapter we saw how to create a thread and how to join and detach thread. In this chapter we shall further see, what are the…
POSIX thread introduction
1. A thread is a light weight process. 2. It has it’s own stack and execution state, but shares the address space with it’s…
Linux Zombie process, orphan process and daemon process in C
In this chapter we shall see what are Linux Zombie process, orphan process and daemon process. Linux Zombie Process * A process that has…
Creating Linux Process using system() and difference between system() and fork() in C
In the previous chapters we saw what a process can be created in 3 different ways. In this chapter we shall have a look at the first they…
Linux Process introduction
Linux Process Introduction: What is a process? Accordin to UNIX standards, IEEE Std 1003.1, 2004 Edition, process is “an address space with…
Threads synchronization using condition variable functions
Below are the API’s used for pthread condition variables 1. To initialize a condition: int pthread_cond_init(pthread_cond_t *cond,…