EmbLogic's Blog

Implementing the socket programming using loopback

RCS file: ./server.c,v
Working file: ./server.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 all the header files
declare the integer and character varible
also give the varible name of the structure
—————————-
revision 1.5 locked by: root;
date: 2015/04/17 14:23:58; author: root; state: Exp; lines: +2 -2
use while loop for reading the data from clint side
after readind write it to the clint
—————————-
revision 1.4
date: 2015/04/17 14:21:40; author: root; state: Exp; lines: +2 -2
give the bind call
after binding give listen acll
after listen give accept call and accept make the new_fd for execlusively to the clint
—————————-
revision 1.3
date: 2015/04/17 14:19:55; author: root; state: Exp; lines: +2 -2
assign the family to the structure type
and give the port number
—————————-
revision 1.2
date: 2015/04/17 14:18:08; author: root; state: Exp; lines: +4 -4
create the socket
and check whether it is created or not
—————————-
revision 1.1
date: 2015/04/17 14:17:19; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./clint.c,v
Working file: ./clint.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 headr files
declare the varibles
—————————-
revision 1.5 locked by: root;
date: 2015/04/17 14:32:06; author: root; state: Exp; lines: +2 -2
use while loop for writing the data for the server
after this the server respond the request and we read here
—————————-
revision 1.4
date: 2015/04/17 14:30:42; author: root; state: Exp; lines: +2 -2
give the connect call for giving the data to he server
—————————-
revision 1.3
date: 2015/04/17 14:28:18; author: root; state: Exp; lines: +2 -2
assign the type of structure family
then give the IP address of the server
and also give the port numbr of the server
—————————-
revision 1.2
date: 2015/04/17 14:27:05; author: root; state: Exp; lines: +4 -4
create a socket
and check that the socket is creat or not
—————————-
revision 1.1
date: 2015/04/17 14:26:17; 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>