EmbLogic's Blog

Client Server Using IPC by using message queues and pipes for single user

logfile of project

=============

=============
RCS file: header.h,v
Working file: header.h
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;    selected revisions: 2
description:
It includes basic headers for implementation
It includes stdio.h, fcntl.h etc.
—————————-
revision 1.2    locked by: root;
date: 2016/01/06 18:46:13;  author: root;  state: Exp;  lines: +2 -0
sys/ipc.h , sys/msg.h is included.
—————————-
revision 1.1
date: 2016/01/06 18:38:00;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: adder.c,v
Working file: adder.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;    selected revisions: 3
description:
It is processing client which gives result of addition of two objects.
It communicate via fifo.
—————————-
revision 1.3    locked by: root;
date: 2016/01/06 18:50:27;  author: root;  state: Exp;  lines: +2 -2
my_message is defined.
—————————-
revision 1.2
date: 2016/01/06 18:43:53;  author: root;  state: Exp;  lines: +1 -1
The header message.h is included.
—————————-
revision 1.1
date: 2016/01/06 18:33:35;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: client1.c,v
Working file: client1.c
head: 1.12
branch:
locks: strict
root: 1.12
access list:
symbolic names:
keyword substitution: kv
total revisions: 12;    selected revisions: 12
description:
It request server for adding through Message Queue
It reads result from server through Message Queue
—————————-
revision 1.12    locked by: root;
date: 2016/01/07 14:11:54;  author: root;  state: Exp;  lines: +2 -0
message queue terminated in client
—————————-
revision 1.11
date: 2016/01/07 13:37:54;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/01/07 13:32:19;  author: root;  state: Exp;  lines: +2 -2
message type is specified
—————————-
revision 1.9
date: 2016/01/07 13:25:39;  author: root;  state: Exp;  lines: +2 -2
different key is used for server and client.
—————————-
revision 1.8
date: 2016/01/07 13:21:47;  author: root;  state: Exp;  lines: +1 -1
values of objects changed.
—————————-
revision 1.7
date: 2016/01/07 13:10:40;  author: root;  state: Exp;  lines: +1 -1
id is changed
—————————-
revision 1.6
date: 2016/01/06 19:06:15;  author: root;  state: Exp;  lines: +1 -1
Message id sent to server is used for the sent message.
—————————-
revision 1.5
date: 2016/01/06 19:00:36;  author: root;  state: Exp;  lines: +1 -1
obj1 is used.
—————————-
revision 1.4
date: 2016/01/06 18:53:47;  author: root;  state: Exp;  lines: +1 -0
msqid id declared.
—————————-
revision 1.3
date: 2016/01/06 18:52:17;  author: root;  state: Exp;  lines: +1 -2
compilation errors resolving.
—————————-
revision 1.2
date: 2016/01/06 18:44:11;  author: root;  state: Exp;  lines: +1 -1
Message.h is included.
—————————-
revision 1.1
date: 2016/01/06 18:34:29;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: client2.c,v
Working file: client2.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 reads result from server through Message Queue
—————————-
revision 1.1    locked by: root;
date: 2016/01/06 18:35:43;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: client3.c,v
Working file: client3.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 reads result from server through Message Queue
—————————-
revision 1.1    locked by: root;
date: 2016/01/06 18:36:09;  author: root;  state: Exp;
Initial revision
=============================================================================

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:
It gives result the multiplication of 2 objects.
It communicate through pipes.
—————————-
revision 1.2    locked by: root;
date: 2016/01/06 18:44:23;  author: root;  state: Exp;  lines: +1 -1
message.h is included.
—————————-
revision 1.1
date: 2016/01/06 18:36:13;  author: root;  state: Exp;
Initial revision
=============================================================================

RCS file: server.c,v
Working file: server.c
head: 1.16
branch:
locks: strict
root: 1.16
access list:
symbolic names:
keyword substitution: kv
total revisions: 16;    selected revisions: 16
description:
It takes request from client throughr Message Queue
It takes result via Pipe from Processing Client.
It writes result to client through Message Queue.
—————————-
revision 1.16    locked by: root;
date: 2016/01/07 14:25:42;  author: root;  state: Exp;  lines: +1 -1
mode change from 777 to 666.
—————————-
revision 1.15
date: 2016/01/07 14:13:12;  author: root;  state: Exp;  lines: +0 -1
message queue not deleted here.
—————————-
revision 1.14
date: 2016/01/07 14:06:25;  author: root;  state: Exp;  lines: +2 -0
Message Queue is destroyed.
—————————-
revision 1.13
date: 2016/01/07 13:51:40;  author: root;  state: Exp;  lines: +2 -0
2 message queues are used.
—————————-
revision 1.12
date: 2016/01/07 13:43:31;  author: root;  state: Exp;  lines: +1 -1
Flag is set to IPC_NOWAIT
—————————-
revision 1.11
date: 2016/01/07 13:37:58;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.10
date: 2016/01/07 13:32:33;  author: root;  state: Exp;  lines: +1 -1
message type is specified.
—————————-
revision 1.9
date: 2016/01/07 13:14:45;  author: root;  state: Exp;  lines: +5 -5
A new struct my_message type variable result is declared.
—————————-
revision 1.8
date: 2016/01/07 13:10:48;  author: root;  state: Exp;  lines: +1 -1
id is changed.
—————————-
revision 1.7
date: 2016/01/07 13:03:20;  author: root;  state: Exp;  lines: +3 -2
Error condition of message send is checked.
—————————-
revision 1.6
date: 2016/01/07 12:55:29;  author: root;  state: Exp;  lines: +1 -1
*** empty log message ***
—————————-
revision 1.5
date: 2016/01/06 19:06:34;  author: root;  state: Exp;  lines: +1 -1
Message id is used.
—————————-
revision 1.4
date: 2016/01/06 18:59:02;  author: root;  state: Exp;  lines: +2 -2
ce
—————————-
revision 1.3
date: 2016/01/06 18:57:45;  author: root;  state: Exp;  lines: +1 -1
req is defined.
—————————-
revision 1.2
date: 2016/01/06 18:56:41;  author: root;  state: Exp;  lines: +1 -2
Compilation errors resolving.
—————————-
revision 1.1
date: 2016/01/06 18:36:43;  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>