RCS file: RCS/server.c,v
Working file: server.c
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
main server file
Include socket.h and types.h
—————————-
revision 1.6
date: 2014/11/06 05:25:09; author: root; state: Exp; lines: +10 -7
make server in while 1
—————————-
revision 1.5
date: 2014/11/05 07:16:21; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2014/11/04 12:11:14; author: root; state: Exp; lines: +1 -0
server write after reading from client
—————————-
revision 1.3
date: 2014/11/04 12:02:06; author: root; state: Exp; lines: +1 -0
use perror after listen call
—————————-
revision 1.2
date: 2014/11/04 12:00:45; author: root; state: Exp; lines: +32 -1
done
—————————-
revision 1.1
date: 2014/11/04 10:35:37; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: RCS/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:
1st client file
include header file
—————————-
revision 1.4
date: 2014/11/06 05:25:29; author: root; state: Exp; lines: +11 -5
usr will enter the data to send
“close” will terminate the communication
—————————-
revision 1.3
date: 2014/11/04 12:11:33; author: root; state: Exp; lines: +3 -0
client read after writing
—————————-
revision 1.2
date: 2014/11/04 12:00:54; author: root; state: Exp; lines: +16 -1
done
—————————-
revision 1.1
date: 2014/11/04 10:36:10; author: root; state: Exp;
Initial revision
=============================================================================