EmbLogic's Blog

project 03 implementation of client server at one server and three processing client and three reque sting client

RCS file: header.h,v
Working file: header.h
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
include stdio.h
revision 1.2
date: 2015/12/23 16:28:04; author: root; state: Exp; lines: +1 -0
include unistd.h
RCS file: request.h,v
Working file: request.h
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
it defines the structure of the request.
revision 1.2
date: 2015/12/23 16:43:49; author: root; state: Exp; lines: +1 -1
include ; before int main
it meand include ; in request.h
RCS file: server.c,v
Working file: server.c
head: 1.47
branch:
locks: strict
root: 1.47
access list:
symbolic names:
keyword substitution: kv
total revisions: 47; selected revisions: 47
description:
this is a server program that accept request and process .
return also request specified client.
a child process is started using fork(),which further starts another client process using ececl().revision 1.45
date: 2015/12/28 19:02:41; author: root; state: Exp; lines: +55 -6
this is a server program.
it takes the request form client3 and sends the request tp perform operation to the processinf client.revision 1.40
date: 2015/12/28 17:58:06; author: root; state: Exp; lines: +1 -1
remove se.
—————————-
revision 1.39
date: 2015/12/28 17:55:37; author: root; state: Exp; lines: +1 -1
declare wfdp3.
—————————-
revision 1.38
date: 2015/12/28 17:51:18; author: root; state: Exp; lines: +56 -3
this is a server program it sends the request of client2 to substractor client.
include sleep(1) after read and write operationrevision 1.20
date: 2015/12/24 18:00:21; author: root; state: Exp; lines: +34 -12
this is a server program .
by using pipe all request accepts.
it will not performed itself
it send the request to do another client.
revision 1.6
date: 2015/12/24 08:47:21; author: root; state: Exp; lines: +1 -0
print the data which is available in buff.
—————————-
revision 1.5
date: 2015/12/23 18:19:10; author: root; state: Exp; lines: +6 -2
read character in rfd.
RCS file: client1.c,v
Working file: client1.c
head: 1.28
branch:
locks: strict
root: 1.28
access list:
symbolic names:
keyword substitution: kv
total revisions: 28; selected revisions: 28
description:
this is aclient progran which will genrate arequest.
rfd and wfd file is found throw cmmand line argument usin pipe system call.
creating requuest using struct request.
revision 1.15
date: 2015/12/24 18:00:21; author: root; state: Exp; lines: +8 -12
this is a another client program.
genrate a request for server to perform the operation.
then also display the result of performed operation.
—————————-
revision 1.14
date: 2015/12/23 18:19:10; author: root; state: Exp; lines: +1 -0
write character in wfd.
—————————-
revision 1.13
date: 2015/12/23 17:53:11; author: root; state: Exp; lines: +4 -2
write something on wfd.
revision 1.2
-te: 2015/12/24 18:00:21; author: root; state: Exp; lines: +8 -12
this is a another client program.
genrate a request for server to perform the operation.
then also display the result of performed operation.
—————————-
revision 1.14
date: 2015/12/23 18:19:10; author: root; state: Exp; lines: +1 -0
write character in wfd.
—————————-
revision 1.13
date: 2015/12/23 17:53:11; author: root; state: Exp; lines: +4 -2
write something on wfd.
RCS file: client3.c,v
Working file: client3.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is a third client program.
it sends also request to client.
at last accept the result and also print the result.RCS file: adder.c,v
Working file: adder.c
head: 1.14
branch:
locks: strict
root: 1.14
access list:
symbolic names:
keyword substitution: kv
total revisions: 14; selected revisions: 14
description:
the is a client program .
which accept a request and perform the operation of addition.
and write the sum on pipe2.
RCS file: substractor.c,v
Working file: substractor.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 a processing client .
it process the request of client2.
which is sended by the server.
RCS file: multiplier.c,v
Working file: multiplier.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
this is another processing client .
it takes the request from server .
and perform the operation.
and also write the resuletto the server.

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>