EmbLogic's Blog

Estblished Half duplex communication between client and server using socket with domain AF_INET

RCS file: client.c,v
Working file: client.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
Thie is the base file for client for half duplex communication between client and server using socket whith domain AF_INET.
created socket using socket system call.
—————————-
revision 1.4 locked by: root;
date: 2015/04/20 05:45:35; author: root; state: Exp; lines: +0 -1
successfully received data from server.
—————————-
revision 1.3
date: 2015/04/20 05:41:41; author: root; state: Exp; lines: +0 -1
successfully connected to server.
sending data to server from stdin.
—————————-
revision 1.2
date: 2015/04/20 05:38:26; author: root; state: Exp; lines: +1 -0
used connect system call to establish a connection with the server.
waiting for server to accept the connection reuest.
—————————-
revision 1.1
date: 2015/04/20 05:20:01; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: server.c,v
Working file: server.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
This is the base file for server half duplex communication between client and server using socket whith domain AF_INET.
Created socket using socket syetem call.
—————————-
revision 1.4 locked by: root;
date: 2015/04/20 05:44:22; author: root; state: Exp; lines: +0 -1
Succssfully received data from clinet.
replying back client with stdin.
—————————-
revision 1.3
date: 2015/04/20 05:41:03; author: root; state: Exp; lines: +0 -1
used accept call to get the connection request from client.
Successfully connected to client.
—————————-
revision 1.2
date: 2015/04/20 05:20:52; author: root; state: Exp; lines: +1 -0
used bind call to assign address to socket.
used listen call to create listen queue.
—————————-
revision 1.1
date: 2015/04/20 05:20:01; 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>