EmbLogic's Blog

INTER PROCESS COMMUNICATION USING PIPES.(client server based)

INTER PROCESS COMMUNICATION USING PIPES.

RCS file: header.h,v
Working file: header.h
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;    selected revisions: 1
description:
Included stdio.h.
and fcntl.h.
,sys/types.h, stdlib.h, unistd.h.
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: pipes.c,v
Working file: pipes.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
Main function of the inter process communication program.
calling the client function to generate clients.
—————————-
revision 1.2
date: 2014/08/02 04:57:36;  author: root;  state: Exp;  lines: +17 -1
forking three independent clients.
with different values.
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: define.c,v
Working file: define.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;    selected revisions: 4
description:
definations of functions client(),
operator_l()–services the client ,forks and execls appropriate service program.
—————————-
revision 1.4
date: 2014/08/02 05:14:43;  author: root;  state: Exp;  lines: +5 -3
client was showing first operand as result.
fixed it.
—————————-
revision 1.3
date: 2014/08/02 04:57:02;  author: root;  state: Exp;  lines: +9 -3
added fcntl.h.
—————————-
revision 1.2
date: 2014/08/02 03:47:28;  author: root;  state: Exp;  lines: +0 -24
*** empty log message ***
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: client.c,v
Working file: client.c
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
This is the client program which requests the server to
perform given operation on the two operands.
—————————-
revision 1.3
date: 2014/08/02 05:15:33;  author: root;  state: Exp;  lines: +2 -2
now the client waits for the server to get results.
—————————-
revision 1.2
date: 2014/08/02 04:58:16;  author: root;  state: Exp;  lines: +6 -3
now the client waits and reads the result from the server.
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: add.c,v
Working file: add.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
The program to add two numbers given by the client program.
writes the result back to the server.
—————————-
revision 1.2
date: 2014/08/02 04:59:01;  author: root;  state: Exp;  lines: +1 -2
*** empty log message ***
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================
RCS file: subtract.c,v
Working file: subtract.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
The program to subtract two numbers given by the client program.
writes the result back to server.
—————————-
revision 1.2
date: 2014/08/02 04:59:05;  author: root;  state: Exp;  lines: +1 -2
*** empty log message ***
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: multiply.c,v
Working file: multiply.c
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
The program to multiply two numbers given by the client program.
writes the result back to server.
—————————-
revision 1.2
date: 2014/08/02 04:59:06;  author: root;  state: Exp;  lines: +1 -2
*** empty log message ***
—————————-
revision 1.1
date: 2014/08/02 03:44:56;  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>