EmbLogic's Blog

Category Archives: Project 03: Client Server Communication using Linux and IPC

We need to creat an Inter Process Communication based Client-Server setup. There should be a Server program, Some clients would send requests to the server and the server would further find the appropriate client to process the request. The server then invokes the new client so as to process the request. The new client should then rend the result back to the server , which then sends it forward to the requesting client.

Walkie-talkie chatting operation using message queue in two different process

RCS file: mesg1.c,v Working file: mesg1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: IN this program work as the walkie talkie half duplex mode…. There are … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

FIFO

A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem. It can be opened by multiple processes for reading or writing. When processes are exchanging data via the … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

ipc-

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Inter Process Communication-synchronised by semaphore

RCS file: server.c,v Working file: server.c head: 1.3 branch: locks: strict saurabh: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: here we are doing a project called ipc ,we have taken a server … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

FIFO

DESCRIPTION A FIFO special file (a named pipe) is similar to a pipe, except that it is accessed as part of the filesystem. It can be opened by multiple processes for reading or writing. When processes are exchanging data via … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

main role dhcp at server

DHCP is an Internet Engineering Task Force (IETF) standard designed to reduce the administration burden and complexity of configuring hosts on a TCP/IP-based network, such as a private intranet. Using the DHCP Server service, the process of configuring TCP/IP on … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

about dhcp……

The Dynamic Host Configuration Protocol is used by computers for requesting Internet Protocol parameters, such as an IP address from a network server. The protocol operates based on the client-server model. DHCP is very common in all modern networks[1] ranging … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Implemented message queue for 1 child-parent process

RCS file: ./practice.c,v Working file: ./practice.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2;    selected revisions: 2 description: initial version of file in this we have used fork child send 2 … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Implemented semaphore for 3 clients and sending result to respective client from server

RCS file: ./semaphore.c,v Working file: ./semaphore.c head: 1.6 branch: locks: strict root: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6;    selected revisions: 6 description: this is the intial file going to start the SEMAPHORE —————————- revision 1.6    … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Inter Process Communication using semaphores and message queues

RCS file: ipc_fifoserver.c,v Working file: ipc_fifoserver.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: created common fifo for requesting clients(3) implemented semaphore created common result fifo and … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Tagged | Leave a comment

semaphores

RCS file: ipc_fifoserver.c,v Working file: ipc_fifoserver.c head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: created common fifo for requesting clients(3) implemented semaphore created common result fifo and have send resutl back to their … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

SEMAPHORES

Semaphores Semaphores are used to protect critical regions of code or data structures. Remember that each access of a critical piece of data such as a VFS inode describing a directory is made by kernel code running on behalf of … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

PIPE : IPC mechanism

Pipe is a method of creating the standard output of one process to the standard input of another process.When a process creates a pipe using pipe() system call , the pipe() system call finds the first two available file-descriptors in … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

PIPE

The primitive for creating a pipe is the `pipe’ function.  This creates both the reading and writing ends of the pipe.  It is not very useful for a single process to use a pipe to talk to itself.  In typical … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment

Semaphore

Its a synchronization mechanism in which one process can access shared resource at one time and other processes are in a wait stage.Its used in synchronizing multiple processes.The processes are in a queue,when semaphore increments or when its greater than … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC | Leave a comment