EmbLogic's Blog

project_03_Single_Client_Single_Server_Using_Ipc_And_Threads

RCS file: client1.c,v
Working file: client1.c
head: 1.18
branch:
locks: strict
root: 1.18
access list:
symbolic names:
keyword substitution: kv
total revisions: 18; selected revisions: 18
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.18 locked by: root;
date: 2015/12/24 17:45:29; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.17
date: 2015/12/24 16:17:34; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2015/12/24 16:15:33; author: root; state: Exp; lines: +2 -1
sum declaed amd prin the result.
—————————-
revision 1.15
date: 2015/12/24 16:12:41; author: root; state: Exp; lines: +2 -0
read the result which is calculated in servr program
—————————-
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.12
date: 2015/12/23 17:45:11; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.11
date: 2015/12/23 17:40:46; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2015/12/23 17:36:12; author: root; state: Exp; lines: +1 -2
*** empty log message ***
—————————-
revision 1.9
date: 2015/12/23 17:33:39; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2015/12/23 17:30:07; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.7
date: 2015/12/23 17:27:12; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.6
date: 2015/12/23 17:25:36; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.5
date: 2015/12/23 16:57:35; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2015/12/23 16:46:34; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2015/12/23 16:43:38; author: root; state: Exp; lines: +2 -2
include ;
—————————-
revision 1.2
date: 2015/12/23 16:27:27; author: root; state: Exp; lines: +1 -1
command line argument is changed.
—————————-
revision 1.1
date: 2015/12/23 16:12:32; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: server.c,v
Working file: server.c
head: 1.23
branch:
locks: strict
root: 1.23
access list:
symbolic names:
keyword substitution: kv
total revisions: 23; selected revisions: 23
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.23 locked by: root;
date: 2015/12/24 16:12:41; author: root; state: Exp; lines: +4 -1
result is calculated and write on wfd of server program.
—————————-
revision 1.22
date: 2015/12/24 16:01:44; author: root; state: Exp; lines: +5 -6
*** empty log message ***
—————————-
revision 1.21
date: 2015/12/24 11:36:47; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.20
date: 2015/12/24 11:36:12; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.19
date: 2015/12/24 11:20:48; author: root; state: Exp; lines: +3 -8
change the data type of oper.
—————————-
revision 1.18
date: 2015/12/24 09:21:25; author: root; state: Exp; lines: +7 -8
*** empty log message ***
—————————-
revision 1.17
date: 2015/12/24 09:19:32; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.16
date: 2015/12/24 09:18:22; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.15
date: 2015/12/24 09:15:15; author: root; state: Exp; lines: +1 -3
*** empty log message ***
—————————-
revision 1.14
date: 2015/12/24 09:13:12; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.13
date: 2015/12/24 09:12:40; author: root; state: Exp; lines: +9 -1
*** empty log message ***
—————————-
revision 1.12
date: 2015/12/24 08:58:32; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.11
date: 2015/12/24 08:56:50; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2015/12/24 08:54:58; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.9
date: 2015/12/24 08:53:34; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2015/12/24 08:51:34; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.7
date: 2015/12/24 08:48:47; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
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.
—————————-
revision 1.4
date: 2015/12/23 17:27:12; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.3
date: 2015/12/23 16:41:27; author: root; state: Exp; lines: +0 -1
*** empty log message ***
—————————-
revision 1.2
date: 2015/12/23 16:27:27; author: root; state: Exp; lines: +1 -1
here,also changed.
—————————-
revision 1.1
date: 2015/12/23 16:12:32; author: root; state: Exp;
Initial revision
=============================================================================

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.3 locked by: root;
date: 2015/12/23 17:25:37; author: root; state: Exp; lines: +1 -0
*** empty log message ***
—————————-
revision 1.2
date: 2015/12/23 16:28:04; author: root; state: Exp; lines: +1 -0
include unistd.h
—————————-
revision 1.1
date: 2015/12/23 16:18:23; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: request.h,v
Working file: request.h
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
it defines the structure of the request.
—————————-
revision 1.6 locked by: root;
date: 2015/12/24 11:21:15; author: root; state: Exp; lines: +1 -1
type casting.
—————————-
revision 1.5
date: 2015/12/24 09:12:41; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2015/12/23 17:35:20; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.3
date: 2015/12/23 17:25:37; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
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
—————————-
revision 1.1
date: 2015/12/23 16:18:23; 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>