EmbLogic's Blog

Successfully implemented Simplex communication between client and server using sockets with domain AF_UNIX.

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 for client-server communication using sockets.
—————————-
revision 1.4 locked by: root;
date: 2015/04/19 07:25:24; author: root; state: Exp; lines: +1 -2
Successfully received string from the client.
Successfully established a SIMPLEX COMMUNICATION between client and server.
—————————-
revision 1.3
date: 2015/04/19 07:23:38; author: root; state: Exp; lines: +0 -1
Successfully connected to the client.
Waiting for client to send the data.
/
—————————-
revision 1.2
date: 2015/04/19 07:20:52; author: root; state: Exp; lines: +1 -0
Created Socket using socket() function call.
Created queue using listen call.
Used Bind call and Accept call to accept the request from client.
waiting for client to send the request.
—————————-
revision 1.1
date: 2015/04/19 07:17:20; author: root; state: Exp;
Initial revision
=============================================================================

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:
Created socket and sent connection request to server.
—————————-
revision 1.4 locked by: root;
date: 2015/04/19 07:26:36; author: root; state: Exp; lines: +0 -1
Able to send data continuously unless server says “bye” to end the comion
—————————-
revision 1.3
date: 2015/04/19 07:24:16; author: root; state: Exp; lines: +0 -1
Got input from the user from stdin (Keyboard).
stored it in a buffer and sent to server.
—————————-
revision 1.2
date: 2015/04/19 07:22:53; author: root; state: Exp; lines: +1 -0
Sent connection request.
connected to server successfully.
—————————-
revision 1.1
date: 2015/04/19 07:19: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>