Header file RCS for IPC project using message queue:
RCS file: ./header.h,v
Working file: ./header.h
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
header file for client server program using message queue
—————————-
revision 1.4 locked by: root;
date: 2014/11/12 12:09:26; author: root; state: Exp; lines: +6 -0
define a struct named result to store the calculated result and send back this result to tha client with a type 2
—————————-
revision 1.3
date: 2014/11/12 11:54:09; author: root; state: Exp; lines: +8 -1
define structure struct message
this structure has a format of message to be sent in message queue
—————————-
revision 1.2
date: 2014/11/12 10:04:38; author: root; state: Exp; lines: +5 -0
define structure msgbuf to specify the message format
—————————-
revision 1.1
date: 2014/11/12 09:38:23; author: root; state: Exp;
Initial revision
=============================================================================
Server file RCS for IPC project using message queue:
RCS file: ./server.c,v
Working file: ./server.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
server for client server project using message queue
—————————-
revision 1.9 locked by: root;
date: 2014/11/12 12:17:41; author: root; state: Exp; lines: +24 -21
insert process of receiving message from client, procesing it and sending output back to the client in a while loop so that
more than one client can request.
—————————-
revision 1.8
date: 2014/11/12 12:12:18; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.7
date: 2014/11/12 12:10:15; author: root; state: Exp; lines: +22 -1
define variable re of type struct result tto store calculated result
send this calculated result back to the client with a type 2
—————————-
revision 1.6
date: 2014/11/12 11:55:11; author: root; state: Exp; lines: +4 -2
change the message format from character to struct message i.e., 2 int values and one char
—————————-
revision 1.5
date: 2014/11/12 10:11:36; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.4
date: 2014/11/12 10:05:18; author: root; state: Exp; lines: +10 -0
receive messege from message queue using msgrcv()
—————————-
revision 1.3
date: 2014/11/12 09:52:05; author: root; state: Exp; lines: +9 -1
perform control operation on message queue
—————————-
revision 1.2
date: 2014/11/12 09:43:40; author: root; state: Exp; lines: +15 -0
create messeage queue
—————————-
revision 1.1
date: 2014/11/12 09:38:23; author: root; state: Exp;
Initial revision
=============================================================================
Header file RCS for IPC project using message queue:
RCS file: ./client1.c,v
Working file: ./client1.c
head: 1.7
branch:
locks: strict
root: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
client file for client serverr project using messege queue
—————————-
revision 1.7 locked by: root;
date: 2014/11/12 12:11:02; author: root; state: Exp; lines: +4 -0
define variable res to store the received result from the server
the variable res has a type struct result
—————————-
revision 1.6
date: 2014/11/12 11:55:58; author: root; state: Exp; lines: +11 -4
change the message format from character to struct message i.e., 2 int values and 1 char
—————————-
revision 1.5
date: 2014/11/12 10:11:37; author: root; state: Exp; lines: +2 -1
*** empty log message ***
—————————-
revision 1.4
date: 2014/11/12 10:09:35; author: root; state: Exp; lines: +13 -1
send message to message queue using msgsnd()
—————————-
revision 1.3
date: 2014/11/12 09:52:29; author: root; state: Exp; lines: +9 -1
perform control operation on message queue
—————————-
revision 1.2
date: 2014/11/12 09:43:53; author: root; state: Exp; lines: +12 -0
create message queue
—————————-
revision 1.1
date: 2014/11/12 09:38:23; author: root; state: Exp;
Initial revision
=============================================================================