<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; Subhash Duhan</title>
	<atom:link href="https://www.emblogic.com/blog/author/subduhan15/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Successfully done quick_sort</title>
		<link>https://www.emblogic.com/blog/04/successfully-done-quick_sort/</link>
		<comments>https://www.emblogic.com/blog/04/successfully-done-quick_sort/#comments</comments>
		<pubDate>Sun, 26 Apr 2015 11:20:32 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12636</guid>
		<description><![CDATA[RCS file: ./quick_sort.c,v Working file: ./quick_sort.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: include the header file then define fxn prototype named qsor fxn start the &#8230; <a href="https://www.emblogic.com/blog/04/successfully-done-quick_sort/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./quick_sort.c,v<br />
Working file: ./quick_sort.c<br />
head: 1.4<br />
branch:<br />
locks: strict<br />
	root: 1.4<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 4;	selected revisions: 4<br />
description:<br />
include the header file<br />
then define fxn prototype named qsor fxn<br />
start the main fxn and decare the integer varible and a arr[20],i,and size<br />
printf the size of artay element<br />
then give the array element using for loop<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4	locked by: root;<br />
date: 2015/04/26 13:41:24;  author: root;  state: Exp;  lines: +2 -2<br />
after sortinthe index the value assign the value to arr[pivot] to temp<br />
and then arr[j]to arr[pivot]<br />
and after this give the fxn to the main()<br />
and print the value of sorted array<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/26 13:35:14;  author: root;  state: Exp;  lines: +3 -3<br />
compare the arr[i]arr[pivot] using another while loop<br />
and decrease  the value of j by 1;<br />
then comapre if(i&lt;j)and swap the aaray index using temp varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/26 13:31:47;  author: root;  state: Exp;  lines: +4 -4<br />
give the defination of qsort fxn and pass the arrgument throw the fxn<br />
int fst ,last and mid,declare these varible<br />
and also i,j for index and a pivot varible for sorting<br />
assign the pivot value mid to it<br />
then comapre the if(i&lt;j)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/26 13:29:54;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/successfully-done-quick_sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>successfully Registering and Initialization of driver&#8230;..</title>
		<link>https://www.emblogic.com/blog/04/successfully-registering-and-initialization-of-driver/</link>
		<comments>https://www.emblogic.com/blog/04/successfully-registering-and-initialization-of-driver/#comments</comments>
		<pubDate>Sat, 25 Apr 2015 10:26:12 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12628</guid>
		<description><![CDATA[RCS file: ./init.c,v Working file: ./init.c head: 1.6 branch: locks: strict subhash: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: decalre the header.h and declerations.h and decalre the dev_t dev nad a struct &#8230; <a href="https://www.emblogic.com/blog/04/successfully-registering-and-initialization-of-driver/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./init.c,v<br />
Working file: ./init.c<br />
head: 1.6<br />
branch:<br />
locks: strict<br />
	subhash: 1.6<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 6;	selected revisions: 6<br />
description:<br />
decalre the header.h and declerations.h<br />
and decalre the dev_t dev nad a struct file_operation fp<br />
and three integer type varibles<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6	locked by: subhash;<br />
date: 2015/04/25 12:55:00;  author: subhash;  state: Exp;  lines: +2 -2<br />
then add operation is adding to the device<br />
and extract the minor and major number from the dev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2015/04/25 12:52:50;  author: subhash;  state: Exp;  lines: +2 -2<br />
then sdev-&gt;cdev.ops=&amp;fp with the file operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/25 12:47:19;  author: subhash;  state: Exp;  lines: +2 -2<br />
give the memeset call for initializing the aloccting memory with null<br />
after initialize the cdev_init fxn<br />
give the cdev.owner their on address space by the THIS_MODULE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/25 12:44:22;  author: subhash;  state: Exp;  lines: +2 -2<br />
initialze the varibles with their macros that is declare in the header.h<br />
and give the kmalloc call to allocate the memory space int the kernel memory<br />
check it whether the meomory is allocating or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/25 12:42:09;  author: subhash;  state: Exp;  lines: +4 -4<br />
give the initialization fxn call<br />
in it give alloc_chrdev_region to register the device<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/25 12:41:06;  author: subhash;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./clean.c,v<br />
Working file: ./clean.c<br />
head: 1.4<br />
branch:<br />
locks: strict<br />
	subhash: 1.4<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 4;	selected revisions: 4<br />
description:<br />
declare the header.h and decleration.h<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4	locked by: subhash;<br />
date: 2015/04/25 12:37:37;  author: subhash;  state: Exp;  lines: +1 -1<br />
give the cdev_del call for delete the add fxn to the device<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/25 12:36:11;  author: subhash;  state: Exp;  lines: +3 -3<br />
after allocating the memory to the device then in exit fxn give free call to realise the memory<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/25 12:33:47;  author: subhash;  state: Exp;  lines: +1 -1<br />
give the exit function call<br />
and after that give the unregister call to the for the register device<br />
and at last give exit function defination .<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/25 12:32:13;  author: subhash;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./header.h,v<br />
Working file: ./header.h<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
	root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;	selected revisions: 3<br />
description:<br />
declare the   </p>
<p>and<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3	locked by: root;<br />
date: 2015/04/25 12:19:24;  author: root;  state: Exp;  lines: +2 -2<br />
initialize the major no macro with 0<br />
and minor number macro with 0<br />
and device name and numner of devices<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/25 12:17:40;  author: root;  state: Exp;  lines: +2 -2<br />
give the module license ,module aurhor name and module description<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/25 12:17:02;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./declerations.h,v<br />
Working file: ./declerations.h<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
	root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;	selected revisions: 3<br />
description:<br />
declare a struct qset<br />
int we have one qset pointer and a doublr data pointer<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3	locked by: root;<br />
date: 2015/04/25 12:27:06;  author: root;  state: Exp;  lines: +2 -2<br />
take three extern unsigned int varible<br />
and one dev_t dev<br />
and a extern struct Dev with poniter varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/25 12:25:16;  author: root;  state: Exp;  lines: +2 -2<br />
declare another struct DEv<br />
and init we srtuct Qset pointer and a struct cdev c_dev varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/25 12:24:46;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/successfully-registering-and-initialization-of-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>connecting the server and client throw the socket&#8230;.</title>
		<link>https://www.emblogic.com/blog/04/connecting-the-server-and-client-throw-the-socket/</link>
		<comments>https://www.emblogic.com/blog/04/connecting-the-server-and-client-throw-the-socket/#comments</comments>
		<pubDate>Wed, 22 Apr 2015 05:38:48 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12587</guid>
		<description><![CDATA[4/22 07:57:28; author: root; state: Exp; lines: +2 -2 compute the size of stringRCS file: ./server_test.c,v Working file: ./server_test.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: &#8230; <a href="https://www.emblogic.com/blog/04/connecting-the-server-and-client-throw-the-socket/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>4/22 07:57:28;  author: root;  state: Exp;  lines: +2 -2<br />
compute the size of stringRCS file: ./server_test.c,v<br />
Working file: ./server_test.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
	root: 1.5<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;	selected revisions: 5<br />
description:<br />
declare the header.h<br />
declare two character array of bufsize<br />
and also declare three integer varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5	locked by: root;<br />
date: 2015/04/22 08:02:57;  author: root;  state: Exp;  lines: +2 -2<br />
give the fork call<br />
for the reading and writing the data from clint side<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/22 08:00:01;  author: root;  state: Exp;  lines: +2 -2<br />
give bind call and listen call for queue<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/0<br />
also assign the type of network<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/20 08:36:04;  author: root;  state: Exp;  lines: +2 -2<br />
create socket and check its file descriptor<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/20 08:35:07;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/connecting-the-server-and-client-throw-the-socket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing  the socket programming using loopback</title>
		<link>https://www.emblogic.com/blog/04/implementing-the-socket-programming-using-loopback/</link>
		<comments>https://www.emblogic.com/blog/04/implementing-the-socket-programming-using-loopback/#comments</comments>
		<pubDate>Fri, 17 Apr 2015 12:02:36 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12568</guid>
		<description><![CDATA[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 &#8230; <a href="https://www.emblogic.com/blog/04/implementing-the-socket-programming-using-loopback/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./server.c,v<br />
Working file: ./server.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
	root: 1.5<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;	selected revisions: 5<br />
description:<br />
declare all the header files<br />
declare the integer and character varible<br />
also give the varible name of the structure<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5	locked by: root;<br />
date: 2015/04/17 14:23:58;  author: root;  state: Exp;  lines: +2 -2<br />
use while loop for reading the data from clint side<br />
after readind write it to the clint<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/17 14:21:40;  author: root;  state: Exp;  lines: +2 -2<br />
give the bind call<br />
after binding give listen acll<br />
after listen give accept call and accept make the new_fd for execlusively to the clint<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/17 14:19:55;  author: root;  state: Exp;  lines: +2 -2<br />
assign the family to the structure type<br />
and give the port number<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/17 14:18:08;  author: root;  state: Exp;  lines: +4 -4<br />
create the socket<br />
and check whether it is created or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/17 14:17:19;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: ./clint.c,v<br />
Working file: ./clint.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
	root: 1.5<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;	selected revisions: 5<br />
description:<br />
declare the headr files<br />
declare the varibles<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5	locked by: root;<br />
date: 2015/04/17 14:32:06;  author: root;  state: Exp;  lines: +2 -2<br />
use while loop for writing the data for the server<br />
after this the server respond the request and we read here<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/17 14:30:42;  author: root;  state: Exp;  lines: +2 -2<br />
give the connect call for giving the data to he server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/17 14:28:18;  author: root;  state: Exp;  lines: +2 -2<br />
assign the type of structure family<br />
then give the IP address of the server<br />
and also give the port numbr of the server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/17 14:27:05;  author: root;  state: Exp;  lines: +4 -4<br />
create a socket<br />
and check that the socket is creat or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/17 14:26:17;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/implementing-the-socket-programming-using-loopback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>implimenting sockets by using AF_UNIX DOMAIN</title>
		<link>https://www.emblogic.com/blog/04/implimenting-sockets-by-using-af_unix-domain/</link>
		<comments>https://www.emblogic.com/blog/04/implimenting-sockets-by-using-af_unix-domain/#comments</comments>
		<pubDate>Thu, 16 Apr 2015 09:49:51 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12566</guid>
		<description><![CDATA[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 &#8230; <a href="https://www.emblogic.com/blog/04/implimenting-sockets-by-using-af_unix-domain/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: 1.c,v<br />
Working file: 1.c<br />
head: 1.6<br />
branch:<br />
locks: strict<br />
	root: 1.6<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 6;	selected revisions: 6<br />
description:<br />
here declare the header file  ,<br />
give the struct variable name adresss<br />
then declare the integer varible and two char type array variables<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6	locked by: root;<br />
date: 2015/04/16 12:09:10;  author: root;  state: Exp;  lines: +2 -2<br />
use while loop<br />
read the data from new fd and that is come from clint side<br />
then puts the data<br />
after this get the data and write to the clint<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2015/04/16 12:07:27;  author: root;  state: Exp;  lines: +2 -2<br />
give the accept call<br />
acept make the new fd for socket for execlusivly clint<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/16 12:05:17;  author: root;  state: Exp;  lines: +2 -2<br />
use strcpy function to give the name of socket<br />
then give the listen call<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/16 12:00:27;  author: root;  state: Exp;  lines: +2 -2<br />
give the bind call<br />
and check it whether it is bind or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/16 11:58:48;  author: root;  state: Exp;  lines: +4 -4<br />
give the socket call<br />
and socket retrun the filedescriptor<br />
and check whether the socket is made or not<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/16 11:57:42;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: 2.c,v<br />
Working file: 2.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
	root: 1.5<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;	selected revisions: 5<br />
description:<br />
declare the header file<br />
then declare the struct varible name<br />
declare the integer varible fd<br />
and two character array buff<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5	locked by: root;<br />
date: 2015/04/16 12:18:36;  author: root;  state: Exp;  lines: +2 -2<br />
use while loop<br />
and gets the data and write to the server<br />
then read from the server ad puts the data<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/04/16 12:17:00;  author: root;  state: Exp;  lines: +2 -2<br />
give the connect call<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/04/16 12:15:33;  author: root;  state: Exp;  lines: +2 -2<br />
use strcpy function to give the socket name<br />
then calculate the size of struct using a integer type varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/04/16 12:13:34;  author: root;  state: Exp;  lines: +4 -4<br />
creat the socket<br />
check the socket if it is creat or  not<br />
then assign the structure varible to the domain<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/04/16 12:12:56;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/04/implimenting-sockets-by-using-af_unix-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>creating nodes&#8230;</title>
		<link>https://www.emblogic.com/blog/03/creating-nodes/</link>
		<comments>https://www.emblogic.com/blog/03/creating-nodes/#comments</comments>
		<pubDate>Sun, 29 Mar 2015 09:54:23 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12494</guid>
		<description><![CDATA[RCS file: ./linklist.c,v Working file: ./linklist.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: declare the header file and also delcare the structure in the head.h file &#8230; <a href="https://www.emblogic.com/blog/03/creating-nodes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: ./linklist.c,v<br />
Working file: ./linklist.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
	root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;	selected revisions: 3<br />
description:<br />
declare the header file and also delcare the structure in the head.h file<br />
co linklist.c<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3	locked by: root;<br />
date: 2015/03/29 12:21:00;  author: root;  state: Exp;  lines: +2 -2<br />
put the choice into while loop<br />
and make switch cases here<br />
int case first make a inesrt node function<br />
and declare it<br />
then invoke it into first case<br />
then we create the nuber of nodes here<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/03/29 12:18:42;  author: root;  state: Exp;  lines: +2 -1<br />
take a integer varible choice<br />
then create the a menu list<br />
give the numbering to the choice that 1 for create a node<br />
2 for insert the node<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/03/29 12:17:20;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/creating-nodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>communication through fifo using one client</title>
		<link>https://www.emblogic.com/blog/03/communication-through-fifo-using-one-client/</link>
		<comments>https://www.emblogic.com/blog/03/communication-through-fifo-using-one-client/#comments</comments>
		<pubDate>Fri, 27 Mar 2015 11:42:13 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12491</guid>
		<description><![CDATA[RCS file: fifo.c,v Working file: fifo.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: include all the headerfile and also declare the struct in the header.h file &#8230; <a href="https://www.emblogic.com/blog/03/communication-through-fifo-using-one-client/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: fifo.c,v<br />
Working file: fifo.c<br />
head: 1.4<br />
branch:<br />
locks: strict<br />
	root: 1.4<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 4;	selected revisions: 4<br />
description:<br />
include all the headerfile and also declare the struct in the header.h file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4	locked by: root;<br />
date: 2015/03/27 11:30:46;  author: root;  state: Exp;  lines: +2 -2<br />
open the fifo into write only mode and write result into the fifo<br />
for requesting and in requesting read the result from fifo<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/03/27 11:27:13;  author: root;  state: Exp;  lines: +3 -3<br />
creat a pipe between server and clint process<br />
give the execl call in the child secton<br />
and pass the descriptor fir reading and writing<br />
then write the structure into pipe for processing<br />
affter processing reading the result from pipe into server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/03/27 11:18:51;  author: root;  state: Exp;  lines: +2 -2<br />
declare the varible which is required<br />
create a fifo and open the fifo in reading mode<br />
read the structure from requesting fifo and close the fifo here.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/03/27 11:17:00;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/communication-through-fifo-using-one-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>create pipe and pass a string threw it..</title>
		<link>https://www.emblogic.com/blog/03/create-pipe-and-pass-a-string-threw-it/</link>
		<comments>https://www.emblogic.com/blog/03/create-pipe-and-pass-a-string-threw-it/#comments</comments>
		<pubDate>Sun, 01 Mar 2015 12:10:20 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12386</guid>
		<description><![CDATA[CS file: pipe.c,v Working file: pipe.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: include all the header file declare the varible open a file for rdwr &#8230; <a href="https://www.emblogic.com/blog/03/create-pipe-and-pass-a-string-threw-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>CS file: pipe.c,v<br />
Working file: pipe.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
	root: 1.3<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;	selected revisions: 3<br />
description:<br />
include all the header file<br />
declare the varible<br />
open a file for rdwr operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3	locked by: root;<br />
date: 2015/03/01 14:29:46;  author: root;  state: Exp;  lines: +3 -2<br />
take switch statement and make case<br />
the parent is initiate and the child is initiated<br />
give the execl command after writing the string into pipe<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/03/01 14:28:14;  author: root;  state: Exp;  lines: +3 -3<br />
creat the pipe<br />
and print the rfd and wfd<br />
then call the fork<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/03/01 14:27:03;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/03/create-pipe-and-pass-a-string-threw-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>replacing the file</title>
		<link>https://www.emblogic.com/blog/02/replacing-the-file/</link>
		<comments>https://www.emblogic.com/blog/02/replacing-the-file/#comments</comments>
		<pubDate>Thu, 26 Feb 2015 12:28:19 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12310</guid>
		<description><![CDATA[RCS file: replace.c,v Working file: replace.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: include all the header file which are required then take a file descriptor &#8230; <a href="https://www.emblogic.com/blog/02/replacing-the-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: replace.c,v<br />
Working file: replace.c<br />
head: 1.4<br />
branch:<br />
locks: strict<br />
	root: 1.4<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 4;	selected revisions: 4<br />
description:<br />
include all the header file which are required<br />
then take a file descriptor and a char type varible name as arry buff<br />
then give the open command for a file<br />
print the fd which is return by open commnd<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4	locked by: root;<br />
date: 2015/02/26 14:54:00;  author: root;  state: Exp;  lines: +3 -3<br />
here print the parent is active<br />
the after the child is active<br />
after that use the execl command for replacing the other file<br />
and terminate the program<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/02/26 14:52:26;  author: root;  state: Exp;  lines: +3 -2<br />
put the switch case statement<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/02/26 14:47:51;  author: root;  state: Exp;  lines: +2 -2<br />
here we capture the fork into a varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/02/26 14:41:44;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/replacing-the-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>compress the file</title>
		<link>https://www.emblogic.com/blog/02/compress-the-file/</link>
		<comments>https://www.emblogic.com/blog/02/compress-the-file/#comments</comments>
		<pubDate>Fri, 13 Feb 2015 12:45:43 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12160</guid>
		<description><![CDATA[RCS file: mdc.c,v Working file: mdc.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: file compressing prg &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.9 locked by: root; date: 2015/02/13 07:28:40; author: &#8230; <a href="https://www.emblogic.com/blog/02/compress-the-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: mdc.c,v<br />
Working file: mdc.c<br />
head: 1.9<br />
branch:<br />
locks: strict<br />
	root: 1.9<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 9;	selected revisions: 9<br />
description:<br />
file compressing prg<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.9	locked by: root;<br />
date: 2015/02/13 07:28:40;  author: root;  state: Exp;  lines: +2 -2<br />
readinn another varible and compare it to the master arry and put into the varible<br />
then throw sprintf we convert into char<br />
fist we left shift it the right shift<br />
and both two byt varible captured into a third vrible<br />
print the third varible<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8<br />
date: 2015/02/13 07:25:32;  author: root;  state: Exp;  lines: +83 -29<br />
here we read the file again and take while loop<br />
after this we compare the master array variable to the file content<br />
after find take it in a varible and convert into character<br />
after it shifts leftside<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2015/02/12 00:48:40;  author: root;  state: Exp;  lines: +2 -2<br />
hare we find the code length<br />
and comparing the code length<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2015/02/12 00:46:01;  author: root;  state: Exp;  lines: +5 -5<br />
if the character is not match then realloc the the size of master array<br />
and the character is stored in the master array<br />
and increase the ndc<br />
and also increase the varible comparing wid i<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2015/02/12 00:43:19;  author: root;  state: Exp;  lines: +5 -2<br />
here we use the whilr loop for count the number of character<br />
and also use to match the distungih char to the master aarry<br />
if it macht then the loop is going outside<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/02/12 00:41:17;  author: root;  state: Exp;  lines: +2 -2<br />
hera we read the file and each character of file is assign to master array<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/02/12 00:38:47;  author: root;  state: Exp;  lines: +2 -2<br />
declaring main fumction and also declaring a char varinbland declaring a master arry ,,and open the file wid file descrptor fd<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/02/12 00:35:50;  author: root;  state: Exp;  lines: +13 -5<br />
here we include the required header file and declare the variable flobally<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/02/06 05:25:39;  author: root;  state: Exp;<br />
Initial revision</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/compress-the-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>making master array and finding the code length</title>
		<link>https://www.emblogic.com/blog/02/making-master-array-and-finding-the-code-length/</link>
		<comments>https://www.emblogic.com/blog/02/making-master-array-and-finding-the-code-length/#comments</comments>
		<pubDate>Thu, 12 Feb 2015 09:10:25 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12142</guid>
		<description><![CDATA[RCS file: mdc.c,v Working file: mdc.c head: 1.7 branch: locks: strict root: 1.7 access list: symbolic names: keyword substitution: kv total revisions: 7; selected revisions: 7 description: file compressing prg &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.7 locked by: root; date: 2015/02/12 00:48:40; author: &#8230; <a href="https://www.emblogic.com/blog/02/making-master-array-and-finding-the-code-length/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: mdc.c,v<br />
Working file: mdc.c<br />
head: 1.7<br />
branch:<br />
locks: strict<br />
	root: 1.7<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 7;	selected revisions: 7<br />
description:<br />
file compressing prg<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7	locked by: root;<br />
date: 2015/02/12 00:48:40;  author: root;  state: Exp;  lines: +2 -2<br />
hare we find the code length<br />
and comparing the code length<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2015/02/12 00:46:01;  author: root;  state: Exp;  lines: +5 -5<br />
if the character is not match then realloc the the size of master array<br />
and the character is stored in the master array<br />
and increase the ndc<br />
and also increase the varible comparing wid i<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2015/02/12 00:43:19;  author: root;  state: Exp;  lines: +5 -2<br />
here we use the whilr loop for count the number of character<br />
and also use to match the distungih char to the master aarry<br />
if it macht then the loop is going outside<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2015/02/12 00:41:17;  author: root;  state: Exp;  lines: +2 -2<br />
hera we read the file and each character of file is assign to master array<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2015/02/12 00:38:47;  author: root;  state: Exp;  lines: +2 -2<br />
declaring main fumction and also declaring a char varinbland declaring a master arry ,,and open the file wid file descrptor fd<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2015/02/12 00:35:50;  author: root;  state: Exp;  lines: +13 -5<br />
here we include the required header file and declare the variable flobally<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2015/02/06 05:25:39;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/making-master-array-and-finding-the-code-length/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CREATING MASATER ARRAY</title>
		<link>https://www.emblogic.com/blog/02/creating-masater-array/</link>
		<comments>https://www.emblogic.com/blog/02/creating-masater-array/#comments</comments>
		<pubDate>Fri, 06 Feb 2015 10:50:16 +0000</pubDate>
		<dc:creator><![CDATA[Subhash Duhan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=12078</guid>
		<description><![CDATA[RCS file: mdc.c,v Working file: mdc.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: file compressing prg &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- revision 1.1 locked by: root; date: 2015/02/06 05:25:39; author: &#8230; <a href="https://www.emblogic.com/blog/02/creating-masater-array/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: mdc.c,v<br />
Working file: mdc.c<br />
head: 1.1<br />
branch:<br />
locks: strict<br />
	root: 1.1<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 1;	selected revisions: 1<br />
description:<br />
file compressing prg<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1	locked by: root;<br />
date: 2015/02/06 05:25:39;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/02/creating-masater-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
