RCS file: server.c,v Working file: server.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: use the socket.h header creat a socket by using socket function which return a socket fd ---------------------------- revision 1.3 locked by: root; date: 2015/04/16 14:53:11; author: root; state: Exp; lines: +1 -1 now accept call is done through which a new fd is created which is the copy of original fd after this we perform our tasks ---------------------------- revision 1.2 date: 2015/04/16 11:45:34; author: root; state: Exp; lines: +1 -1 now give name to socket by using strcpy after that use bind call to provide addres to socket ---------------------------- revision 1.1 date: 2015/04/16 11:22:37; author: root; state: Exp; Initial revision ============================================================================= RCS file: client.c,v Working file: client.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: in client creat a socket like server which also return socket fd ---------------------------- revision 1.3 locked by: root; date: 2015/04/16 14:56:21; author: root; state: Exp; lines: +1 -1 now after connect we are raedy to work on process ---------------------------- revision 1.2 date: 2015/04/16 14:44:55; author: root; state: Exp; lines: +0 -1 after this a same socket create like in server after this connect call is done ---------------------------- revision 1.1 date: 2015/04/16 11:33:17; author: root; state: Exp; Initial revision =============================================================================