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.

Successfully done IPC using FIFO for single client with Semaphores

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

Successfully done IPC using FIFO for 2 requesting and 2 processing clients using semaphores.

RCS file: server.c,v Working file: server.c head: 1.4 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: This is the base file for IPC using fifo for 2 requesting and 2 processing … Continue reading

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

Successfully done IPC using FIFO for single requesting and processing client using semaphore.

RCS file: server.c,v Working file: server.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: This is the base file for IPC using FIFO and Semaphores for 1 … Continue reading

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

orphan state

head 1.1; access; symbols; locks ashish:1.1; strict; comment @ * @; 1.1 date 2015.03.24.13.44.13; author ashish; state Exp; branches; next ; desc @programme for orphan condition where the child terminates after the termination of parents, where the child beacme the … Continue reading

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

USE OF atexit()

head 1.3; access; symbols; locks ashish:1.3; strict; comment @ * @; 1.3 date 2015.03.24.12.56.57; author ashish; state Exp; branches; next 1.2; 1.2 date 2015.03.24.12.54.03; author ashish; state Exp; branches; next 1.1; 1.1 date 2015.03.24.12.53.35; author ashish; state Exp; branches; next … Continue reading

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

USING WAIT WHILE DOING MULTIPLE CHILD AND PARENT

head 1.7; access; symbols; locks ashish:1.7; strict; comment @ * @; 1.7 date 2015.03.24.13.22.13; author ashish; state Exp; branches; next 1.6; 1.6 date 2015.03.24.13.20.46; author ashish; state Exp; branches; next 1.5; 1.5 date 2015.03.24.13.16.32; author ashish; state Exp; branches; next … Continue reading

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

Successfully done IPC using fifo for 3 requesting and 3 processing clients…..

RCS file: server.c,v Working file: server.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: This is the base file for ipc using fifo for 3 requesting and … Continue reading

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

ipc using threads and messagequeue

head 1.9; access; symbols; locks ashish:1.9; strict; comment @ * @; 1.9 date 2015.03.24.12.44.39; author ashish; state Exp; branches; next 1.8; 1.8 date 2015.03.24.12.42.21; author ashish; state Exp; branches; next 1.7; 1.7 date 2015.03.24.12.38.12; author ashish; state Exp; branches; next … Continue reading

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

Successfully Implemented the inter-communication between 3 client , server and 3 processing-side by using pipes.

RCS file: header_server2.h,v Working file: header_server2.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: include 3 library <stdio.h> , <stdlib.h> and <unistd.h> create a function invoke_clients() to … Continue reading

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

client server communication using FIFO is implemented successfully.

RCS file: client1.c,v Working file: client1.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: This is client1.c file opened SERVER_FIFO in O_WRONLY mode. prepare a request. —————————- … Continue reading

Posted in Project 03: Client Server Communication using Linux and IPC, Project 6: Client Server using Inter Process Communication Mechanism | Leave a comment

SUCESSFULLY DONE IPC USING PIPES FOR 3 REQUESTING AND 3 PROCESSING CLIENTS….

RCS file: server.c,v Working file: server.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: This is the base file for IPC using pipes….. Here request is sent … Continue reading

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

client-server using MESSAGEQUEUE

head 1.7; access; symbols; locks ashish:1.7; strict; comment @ * @; 1.7 date 2015.03.16.21.25.33; author ashish; state Exp; branches; next 1.6; 1.6 date 2015.03.16.21.22.29; author ashish; state Exp; branches; next 1.5; 1.5 date 2015.03.16.21.17.18; author ashish; state Exp; branches; next … Continue reading

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

communication between 6 client through server using ipc is successfully done.

RCS file: header.h,v Working file: header.h head: 1.11 branch: locks: strict root: 1.11 access list: symbolic names: keyword substitution: kv total revisions: 11; selected revisions: 11 description: This is header file. include stdio.h,unistd.h declare prototype of invoke_req_client function —————————- revision … Continue reading

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

Project 03: Client Server implementation using PIPES

Here i have used 3 requesting clients and 3 processing clients. RCS file: header1.h,v Working file: header1.h head: branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 0 description: this is the header file.it contains library which … Continue reading

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

Implemented client-server-client communication using IPC

RCS file: headerr.h,v Working file: headerr.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: contain header files defination of srtuct message —————————- revision 1.2 locked by: root; … Continue reading

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