EmbLogic's Blog

implimenting sockets by using AF_UNIX DOMAIN

RCS file: 1.c,v
Working file: 1.c
head: 1.6
branch:
locks: strict
root: 1.6
access list:
symbolic names:
keyword substitution: kv
total revisions: 6; selected revisions: 6
description:
here declare the header file ,
give the struct variable name adresss
then declare the integer varible and two char type array variables
—————————-
revision 1.6 locked by: root;
date: 2015/04/16 12:09:10; author: root; state: Exp; lines: +2 -2
use while loop
read the data from new fd and that is come from clint side
then puts the data
after this get the data and write to the clint
—————————-
revision 1.5
date: 2015/04/16 12:07:27; author: root; state: Exp; lines: +2 -2
give the accept call
acept make the new fd for socket for execlusivly clint
—————————-
revision 1.4
date: 2015/04/16 12:05:17; author: root; state: Exp; lines: +2 -2
use strcpy function to give the name of socket
then give the listen call
—————————-
revision 1.3
date: 2015/04/16 12:00:27; author: root; state: Exp; lines: +2 -2
give the bind call
and check it whether it is bind or not
—————————-
revision 1.2
date: 2015/04/16 11:58:48; author: root; state: Exp; lines: +4 -4
give the socket call
and socket retrun the filedescriptor
and check whether the socket is made or not
—————————-
revision 1.1
date: 2015/04/16 11:57:42; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: 2.c,v
Working file: 2.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
declare the header file
then declare the struct varible name
declare the integer varible fd
and two character array buff
—————————-
revision 1.5 locked by: root;
date: 2015/04/16 12:18:36; author: root; state: Exp; lines: +2 -2
use while loop
and gets the data and write to the server
then read from the server ad puts the data
—————————-
revision 1.4
date: 2015/04/16 12:17:00; author: root; state: Exp; lines: +2 -2
give the connect call
—————————-
revision 1.3
date: 2015/04/16 12:15:33; author: root; state: Exp; lines: +2 -2
use strcpy function to give the socket name
then calculate the size of struct using a integer type varible
—————————-
revision 1.2
date: 2015/04/16 12:13:34; author: root; state: Exp; lines: +4 -4
creat the socket
check the socket if it is creat or not
then assign the structure varible to the domain
—————————-
revision 1.1
date: 2015/04/16 12:12:56; 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>