EmbLogic's Blog

program for single server client ipc

program for server:
for single server,client and process i have used one pipe for communication between server and client and another one for communication between server and process .as pipe can only used between related process thats why we need two fork() for these functionalities
——-server———-

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:
it receive data from client
then read it and further it write the data into process
again it receive the processing data from process program
now sent the output to client by pipe
—————————-
revision 1.1 locked by: root;
date: 2014/07/04 12:22:14; author: root; state: Exp;
Initial revision
=============================================================================
———-client————-

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:
it receive data from client
then read it and further it write the data into process
again it receive the processing data from process program
now sent the output to client by pipe
—————————-
revision 1.1 locked by: root;
date: 2014/07/04 12:22:14; author: root; state: Exp;
Initial revision
=============================================================================
———process………………

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:
it receive data from client
then read it and further it write the data into process
again it receive the processing data from process program
now sent the output to client by pipe
—————————-
revision 1.1 locked by: root;
date: 2014/07/04 12:22:14; 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>