RCS file: client.c,v
Working file: client.c
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
Client/Server program where client provides input to server via shared memory and
server provides the result to client.
Shared memory segment is created successfully.
Shared memory segment is attached to this program address space.
—————————-
revision 1.4
date: 2014/01/20 15:33:40; author: root; state: Exp; lines: +6 -3
Logical error fixed.
Issue:pointer is not incremented to point to the next address.
The client program is able to retrieve the value of sum successfully.
—————————-
revision 1.3
date: 2014/01/20 00:58:04; author: root; state: Exp; lines: +11 -1
The shared memory segment is detached successfully.
After detaching,remove the shared memory segment.
—————————-
revision 1.2
date: 2014/01/20 00:50:07; author: root; state: Exp; lines: +14 -2
shmctl() system call is used to provide the size of the segment.
—————————-
revision 1.1
date: 2014/01/20 00:37:33; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: server.c,v
Working file: server.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
Header file:header.h that includes all the necessary header files.
This is the code for the server process.
—————————-
revision 1.6 locked by: root;
date: 2014/01/20 15:28:43; author: root; state: Exp; lines: +1 -0
Value of sum in the variable is computed successfully.
—————————-
revision 1.5
date: 2014/01/20 15:14:00; author: root; state: Exp; lines: +6 -5
Logical error fixed.
Issue:Assignment operation.
—————————-
revision 1.4
date: 2014/01/20 15:01:08; author: root; state: Exp; lines: +12 -1
A check is added in the program to check if the shared memory identifier is obtained successfully
or not.Server not reading the client values.
Checking……..
—————————-
revision 1.3
date: 2014/01/20 01:37:10; author: root; state: Exp; lines: +1 -1
Declaration error fixed.
Error:The variable “sum” undeclared.
—————————-
revision 1.2
date: 2014/01/20 01:35:27; author: root; state: Exp; lines: +12 -1
The shared memory segment is attached to this program’s address space.
The value of 2 numbers are read in the server process.
Sum is calculated.
—————————-
revision 1.1
date: 2014/01/20 01:24:49; author: root; state: Exp;
Initial revision
=============================================================================