EmbLogic's Blog

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 are required by programs
contains prototype for functions and structures
=============================================================================
RCS file: server.c,v
Working file: server.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the server program..here i have created six pipes.
3 each for requesting clients and 3 for processing clients
requesting client will send request to the server and server then transfer the info to the processing clients
processing clients will process that info and send back to the server
server will then transfer the info back to the requesting clients
i have implemented the server program using functions
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: request_client.c,v
Working file: request_client.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the first requesting client.
Sending request for the addtion.
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:11; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: request_client_mul.c,v
Working file: request_client_mul.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is second requesting client
sending request for the multiplication.
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: request_client_sub.c,v
Working file: request_client_sub.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the third requesting client
sending request for the subtraction
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: adder.c,v
Working file: adder.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is first processing client
here arithmetic operation”ADDITION” is performed
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: mul.c,v
Working file: mul.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the second processing client
here arithmetic operation “MULTIPLICATION” is performed.
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: sub.c,v
Working file: sub.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
this is the third processing client.
Here arithmetic operation “SUBTRACTION” is performed.
—————————-
revision 1.1 locked by: root;
date: 2015/03/05 00:08:19; author: root; state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>