Server ————————————————-
RCS file: ./server_socket.c,v
Working file: ./server_socket.c
head: 1.25
branch:
locks: strict
root: 1.25
access list:
symbolic names:
keyword substitution: kv
total revisions: 25; selected revisions: 25
description:
implemented basic program for server.
declared sys/socket.h
—————————-
revision 1.25
date: 2014/08/25 14:38:54; author: root; state: Exp; lines: +0 -1
completed upto only single char received from client.
—————————-
revision 1.24
date: 2014/08/23 03:32:41; author: root; state: Exp; lines: +1 -1
cmpt.
—————————-
revision 1.23
date: 2014/08/23 03:31:33; author: root; state: Exp; lines: +3 -3
completed using domain AF_UNIX & socket type sock_stream.
—————————-
revision 1.22
date: 2014/08/22 08:08:41; author: root; state: Exp; lines: +1 -1
gave signal() for closing fd1 & unlink
—————————-
revision 1.21
date: 2014/08/22 08:06:32; author: root; state: Exp; lines: +12 -3
declared fd1 globaly.
—————————-
revision 1.20
date: 2014/08/22 07:52:03; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.19
date: 2014/08/22 07:12:32; author: root; state: Exp; lines: +18 -15
run server in while(1).
—————————-
revision 1.18
date: 2014/08/22 07:10:42; author: root; state: Exp; lines: +1 -6
made all header files to header.h
—————————-
revision 1.17
date: 2014/08/22 06:30:43; author: root; state: Exp; lines: +3 -1
gave write function for write to socket.
—————————-
revision 1.16
date: 2014/08/22 06:27:33; author: root; state: Exp; lines: +3 -0
gave read function for reading from socket.
—————————-
revision 1.15
date: 2014/08/22 06:18:56; author: root; state: Exp; lines: +3 -2
*** empty log message ***
—————————-
revision 1.14
date: 2014/08/22 06:14:19; author: root; state: Exp; lines: +7 -2
gave accept() call .
—————————-
revision 1.13
date: 2014/08/22 06:09:37; author: root; state: Exp; lines: +2 -2
gave structure obj for aceept
—————————-
revision 1.12
date: 2014/08/22 06:04:54; author: root; state: Exp; lines: +3 -2
changed socket name.
—————————-
revision 1.11
date: 2014/08/22 06:00:32; author: root; state: Exp; lines: +6 -5
changed structure name to struct sockaddr_un.
—————————-
revision 1.10
date: 2014/08/22 03:03:08; author: root; state: Exp; lines: +1 -1
changed socket address.
—————————-
revision 1.9
date: 2014/08/22 02:52:50; author: root; state: Exp; lines: +1 -1
..
—————————-
revision 1.8
date: 2014/08/22 02:44:46; author: root; state: Exp; lines: +1 -1
changed obj of struct sockaddr.
—————————-
revision 1.7
date: 2014/08/22 02:43:51; author: root; state: Exp; lines: +6 -5
..
—————————-
revision 1.6
date: 2014/08/22 02:19:19; author: root; state: Exp; lines: +5 -0
gave sys call listen() to accept incoming connection requests.
—————————-
revision 1.5
date: 2014/08/22 02:15:08; author: root; state: Exp; lines: +5 -4
gave string.h
—————————-
revision 1.4
date: 2014/08/22 02:11:41; author: root; state: Exp; lines: +2 -1
implemented strcpy for assigning name to member sa_data.
—————————-
revision 1.3
date: 2014/08/22 02:09:44; author: root; state: Exp; lines: +8 -0
assigned address to newly created socket using sys call bind().
—————————-
revision 1.2
date: 2014/08/22 02:04:10; author: root; state: Exp; lines: +9 -2
created new socket using sys call socket();
—————————-
revision 1.1
date: 2014/08/22 01:59:23; author: root; state: Exp;
Initial revision
=============================================================================
Client —————————————————
RCS file: ./client_socket.c,v
Working file: ./client_socket.c
head: 1.13
branch:
locks: strict
root: 1.13
access list:
symbolic names:
keyword substitution: kv
total revisions: 13; selected revisions: 13
description:
implemented basic program for client.
—————————-
revision 1.13
date: 2014/08/25 14:40:41; author: root; state: Exp; lines: +4 -3
completed upto–single char wrote to server_socket
—————————-
revision 1.12
date: 2014/08/23 03:33:35; author: root; state: Exp; lines: +1 -1
completed using AF_UNIX & sock_stream.
—————————-
revision 1.11
date: 2014/08/22 07:13:11; author: root; state: Exp; lines: +1 -6
made all header files to header.h
—————————-
revision 1.10
date: 2014/08/22 06:28:50; author: root; state: Exp; lines: +2 -1
gave read() function for reading from scoket
—————————-
revision 1.9
date: 2014/08/22 06:26:18; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.8
date: 2014/08/22 06:25:40; author: root; state: Exp; lines: +7 -2
gave write() for writing to socket
—————————-
revision 1.7
date: 2014/08/22 06:03:53; author: root; state: Exp; lines: +4 -3
include header file sys/un.h
—————————-
revision 1.6
date: 2014/08/22 02:51:15; author: root; state: Exp; lines: +1 -1
..
—————————-
revision 1.5
date: 2014/08/22 02:50:05; author: root; state: Exp; lines: +3 -3
changed structure name for domain AF_UNIX.
—————————-
revision 1.4
date: 2014/08/22 02:42:00; author: root; state: Exp; lines: +1 -1
..
—————————-
revision 1.3
date: 2014/08/22 02:39:27; author: root; state: Exp; lines: +12 -2
declared struct sockaddr object addr.
implemented syscall connect() for connecting socket reffered by fd to addr specified by addr.
—————————-
revision 1.2
date: 2014/08/22 02:23:30; author: root; state: Exp; lines: +8 -1
created new socket usign socket().
—————————-
revision 1.1
date: 2014/08/22 02:00:11; author: root; state: Exp;
Initial revision
=============================================================================
Header file ————————————————–
RCS file: ./header.h,v
Working file: ./header.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
declared structure struct data
—————————-
revision 1.1 locked by: root;
date: 2014/08/25 14:47:43; author: root; state: Exp;
Initial revision
=============================================================================