<?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; pipe</title>
	<atom:link href="https://www.emblogic.com/blog/tag/pipe/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>client,server and process communication via pipes</title>
		<link>https://www.emblogic.com/blog/09/clientserver-and-process-communication-via-pipes/</link>
		<comments>https://www.emblogic.com/blog/09/clientserver-and-process-communication-via-pipes/#comments</comments>
		<pubDate>Wed, 24 Sep 2014 14:33:41 +0000</pubDate>
		<dc:creator><![CDATA[Joon Vichitra]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>
		<category><![CDATA[client-server]]></category>
		<category><![CDATA[ipc]]></category>
		<category><![CDATA[pipe]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=11525</guid>
		<description><![CDATA[RCS file: RCS/server.c,v Working file: server.c head: 1.8 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 8;    selected revisions: 8 description: program which act as a server to take the request of client done:created one child &#8230; <a href="https://www.emblogic.com/blog/09/clientserver-and-process-communication-via-pipes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>RCS file: RCS/server.c,v<br />
Working file: server.c<br />
head: 1.8<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 8;    selected revisions: 8<br />
description:<br />
program which act as a server to take the request of client<br />
done:created one child process and a pipe<br />
done:replace the child process with client1.c and send pfd[1] to the client as a command line argument<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8<br />
date: 2014/09/24 14:24:48;  author: root;  state: Exp;  lines: +0 -1<br />
change the o/p appearence<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2014/09/24 14:12:17;  author: root;  state: Exp;  lines: +42 -10<br />
read result from p1,p2,p3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2014/09/24 13:08:55;  author: root;  state: Exp;  lines: +17 -3<br />
create one more child process to call process1.c<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/09/24 09:47:40;  author: root;  state: Exp;  lines: +31 -3<br />
read the data from all three client<br />
do switch case to perform different operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/09/24 08:38:36;  author: root;  state: Exp;  lines: +6 -6<br />
create 3 child of same parent to call diff-2 client<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/09/24 08:14:31;  author: root;  state: Exp;  lines: +18 -7<br />
crate another pipe for communication between server and process<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 06:39:04;  author: root;  state: Exp;  lines: +3 -0<br />
read the data through pipe sent by client1<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 06:22:18;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/client1.c,v<br />
Working file: client1.c<br />
head: 1.5<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 5;    selected revisions: 5<br />
description:<br />
client process which will replace the child process<br />
done:create the structure for operand and operation, get the pipe write fd as a command line argument<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2014/09/24 14:25:10;  author: root;  state: Exp;  lines: +0 -2<br />
change the o/p appearance<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2014/09/24 09:48:23;  author: root;  state: Exp;  lines: +6 -11<br />
write operater and two operand into pipe<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/09/24 08:15:04;  author: root;  state: Exp;  lines: +3 -1<br />
send the data to server and exit()<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 06:39:32;  author: root;  state: Exp;  lines: +5 -1<br />
write the data into pipe so that server can read that<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 06:24:50;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/client2.c,v<br />
Working file: client2.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
root: 1.2<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
create client 2 to do the different mathematical operation<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2    locked by: root;<br />
date: 2014/09/24 09:48:57;  author: root;  state: Exp;  lines: +7 -15<br />
write into pipe<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 08:39:12;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/client3.c,v<br />
Working file: client3.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
create client 3<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/09/24 14:25:40;  author: root;  state: Exp;  lines: +0 -2<br />
change the o/p appearance<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 09:49:23;  author: root;  state: Exp;  lines: +6 -13<br />
whrite into pipe<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 08:39:54;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/process1.c,v<br />
Working file: process1.c<br />
head: 1.3<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 3;    selected revisions: 3<br />
description:<br />
this is process program which do the operation on data and return the result<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2014/09/24 14:25:49;  author: root;  state: Exp;  lines: +0 -2<br />
change the o/p appearance<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 14:13:02;  author: root;  state: Exp;  lines: +8 -3<br />
write the result into pipe in interger form<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 13:09:17;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/process2.c,v<br />
Working file: process2.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
process to perform &#8211; operation and writing the result back into the pipe<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 14:25:52;  author: root;  state: Exp;  lines: +0 -2<br />
change the o/p appearance<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 14:14:17;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
<p>RCS file: RCS/process3.c,v<br />
Working file: process3.c<br />
head: 1.2<br />
branch:<br />
locks: strict<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 2;    selected revisions: 2<br />
description:<br />
process 3 to perform multiplication<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2014/09/24 14:25:55;  author: root;  state: Exp;  lines: +0 -2<br />
change the o/p appearance<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2014/09/24 14:14:52;  author: root;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/09/clientserver-and-process-communication-via-pipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>client  server</title>
		<link>https://www.emblogic.com/blog/05/client-server-7/</link>
		<comments>https://www.emblogic.com/blog/05/client-server-7/#comments</comments>
		<pubDate>Tue, 22 May 2012 12:25:52 +0000</pubDate>
		<dc:creator><![CDATA[gaurav.vohra]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pipe]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=2930</guid>
		<description><![CDATA[commination done via pipe for single client server&#8230;having problems in getting result from the processing client to server&#8230;&#8230;&#8230;.]]></description>
				<content:encoded><![CDATA[<p>commination done via pipe for single client server&#8230;having problems in getting result from the processing client to server&#8230;&#8230;&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/client-server-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>process</title>
		<link>https://www.emblogic.com/blog/05/process/</link>
		<comments>https://www.emblogic.com/blog/05/process/#comments</comments>
		<pubDate>Tue, 22 May 2012 10:49:58 +0000</pubDate>
		<dc:creator><![CDATA[saurabh.aggarwal]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pipe]]></category>
		<category><![CDATA[process]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=2872</guid>
		<description><![CDATA[done with pipe for single client-server-client]]></description>
				<content:encoded><![CDATA[<p>done with pipe for single client-server-client</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/05/process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pipe and FIFO&#8230;??</title>
		<link>https://www.emblogic.com/blog/01/pipe-and-fifo/</link>
		<comments>https://www.emblogic.com/blog/01/pipe-and-fifo/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 19:01:13 +0000</pubDate>
		<dc:creator><![CDATA[Vineet Saddyan]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[FIFO]]></category>
		<category><![CDATA[pipe]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=1745</guid>
		<description><![CDATA[Is there any mechanism to remove garbage values from the pipe or FIFO. As we are reading from pipe/FIFO there are some garbage value along with the desired result. And in FIFO the behaviour is unexpected, as sometime the it &#8230; <a href="https://www.emblogic.com/blog/01/pipe-and-fifo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Is there any mechanism to remove garbage values from the pipe or FIFO.</p>
<p>As we are reading from pipe/FIFO there are some garbage value along with the desired result.<br />
And in FIFO the behaviour   is unexpected, as sometime the it read the exact values, sometime some garbage  </p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/pipe-and-fifo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
