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:
Program to demonstrate how a connection oriented server creates a IP socket to accept client requests and uses AF_INET address family.
—————————-
revision 1.6 locked by: root;
date: 2014/01/31 02:00:34; author: root; state: Exp; lines: +6 -0
accept() function is added inside the server to accept an incoming connection request.
—————————-
revision 1.5
date: 2014/01/31 01:57:23; author: root; state: Exp; lines: +9 -0
Socket queue is created using listen() system call.
If queue does not get created then an error message will be displayed.
—————————-
revision 1.4
date: 2014/01/31 01:31:46; author: root; state: Exp; lines: +4 -0
Comilation errors fixed.
Header file:<stdlib.h> is included to support exit(),<socket.h> is included to support socket related functions.
—————————-
revision 1.3
date: 2014/01/31 01:29:18; author: root; state: Exp; lines: +9 -1
Lots of compilation errors.
Issue:Some header files are not included.
Checking….
—————————-
revision 1.2
date: 2014/01/31 01:21:23; author: root; state: Exp; lines: +9 -0
A socket is created using socket() system call.
If successfull then the address family AF_INET with stream SOCK_STREAM will be used.
Else a message displayed on the screen.
—————————-
revision 1.1
date: 2014/01/31 01:16:15; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: client.c,v
Working file: client.c
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
Code to demonstrate how a connection-oriented client creates a socket to send a request to the server.
—————————-
revision 1.8 locked by: root;
date: 2014/01/31 02:29:34; author: root; state: Exp; lines: +2 -0
The client sends a character ‘a’ to the server,after receiving the character the server converts it into uppercase.
—————————-
revision 1.7
date: 2014/01/31 02:22:25; author: root; state: Exp; lines: +3 -2
Logical error fixed.
Issue:& operator is placed inside the connect() system call.
—————————-
revision 1.6
date: 2014/01/31 02:19:02; author: root; state: Exp; lines: +1 -1
Declaration error fixed.
Issue:ret_value is variable is undeclared.
—————————-
revision 1.5
date: 2014/01/31 02:17:49; author: root; state: Exp; lines: +3 -0
Header files:in.h,socket.h and types.h are included to support various socket types and functions.
—————————-
revision 1.4
date: 2014/01/31 02:16:05; author: root; state: Exp; lines: +1 -0
Header file:<stdlib.h> is included to support exit() function.
—————————-
revision 1.3
date: 2014/01/31 02:14:56; author: root; state: Exp; lines: +11 -2
connect system call is used to connect to the server.
Checking the client’s program….
—————————-
revision 1.2
date: 2014/01/31 02:10:04; author: root; state: Exp; lines: +8 -1
A socket is created using socket() system call.
An error message will be displayed if the socket creation is failed.
—————————-
revision 1.1
date: 2014/01/31 02:07:36; author: root; state: Exp;
Initial revision
=============================================================================