<?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; purnima</title>
	<atom:link href="https://www.emblogic.com/blog/author/purnima/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></title>
		<link>https://www.emblogic.com/blog/11/7601/</link>
		<comments>https://www.emblogic.com/blog/11/7601/#comments</comments>
		<pubDate>Fri, 29 Nov 2013 12:21:57 +0000</pubDate>
		<dc:creator><![CDATA[purnima]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7601</guid>
		<description><![CDATA[Client Server using IPC IPC stands for inter process communation and with help of this mechanism server can communicate with their appropriate clients. There are four types of IPC 1)Pipe 2)fifo 3)message queues 4)shared memory pipe-It is mechanism in which &#8230; <a href="https://www.emblogic.com/blog/11/7601/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>                             Client Server using IPC</p>
<p>IPC stands for inter process communation and with help of this mechanism server can communicate with their appropriate clients.<br />
There are four types of IPC<br />
1)Pipe<br />
2)fifo<br />
3)message queues<br />
4)shared memory</p>
<p>pipe-It is mechanism in which dataflow connect from one process to another.It can occurs only in related process.<br />
The prototype of pipe can be written as<br />
int pipe( fd[2] )<br />
fifo-It is mechanism in which external process also connect with this client server process.It can occurs in related as well as unrelated process also<br />
message queues-It is a mechanism in which we can send unrelated process in easy and efficient way.<br />
	       It independent of both sending and receiving process<br />
shared queues-It is used to send data between two runnind process.<br />
The project client server using pipe we are using various terms like client,server,processing client,fork(),execl().There are three client ,three processing client and one server is used.<br />
Client who sends the request to the server and server send their request to processing client   to process the request after processing the request ,processing resend the information to server and server send to client.In this way server responding the request of client.<br />
Client generate a process by using fork() and send these process to server .server has method execl() through which server will get data from client.<br />
Hence the real advantage of using pipe when we wish to pass a data from one process to another.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/11/7601/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPC</title>
		<link>https://www.emblogic.com/blog/11/ipc-7/</link>
		<comments>https://www.emblogic.com/blog/11/ipc-7/#comments</comments>
		<pubDate>Fri, 29 Nov 2013 07:06:00 +0000</pubDate>
		<dc:creator><![CDATA[purnima]]></dc:creator>
				<category><![CDATA[Project 03: Client Server Communication using Linux and IPC]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=7597</guid>
		<description><![CDATA[Client Server using IPC &#160; IPC stands for inter process communation and with help of this mechanism server can communicate with their appropriate clients. There are four types of IPC 1)Pipe 2)fifo 3)message queues 4)shared memory &#160; pipe-It is mechanism &#8230; <a href="https://www.emblogic.com/blog/11/ipc-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><span style="font-size: x-small">Client Server using IPC</span></p>
<p>&nbsp;</p>
<p><span style="font-size: xx-small">IPC stands for inter process communation and with help of this mechanism server can communicate with their appropriate clients.</span></p>
<p><span style="font-size: xx-small">There are four types of IPC</span></p>
<p><span style="font-size: xx-small">1)Pipe</span></p>
<p><span style="font-size: xx-small">2)fifo</span></p>
<p><span style="font-size: xx-small">3)message queues</span></p>
<p><span style="font-size: xx-small">4)shared memory</span></p>
<p>&nbsp;</p>
<p><span style="font-size: xx-small">pipe-It is mechanism in which dataflow connect from one process to another.It can occurs only in related process.</span></p>
<p><span style="font-size: xx-small">The prototype of pipe can be written as</span></p>
<p><span style="font-size: xx-small">int pipe( fd[2] )</span></p>
<p><span style="font-size: xx-small">fifo-It is mechanism in which external process also connect with this client server process.It can occurs in related as well as unrelated process also</span></p>
<p><span style="font-size: xx-small">message queues-It is a mechanism in which we can send unrelated process in easy and efficient way.</span></p>
<p><span style="font-size: xx-small"> It independent of both sending and receiving process </span></p>
<p><span style="font-size: xx-small">shared queues-It is used to send data between two runnind process.</span></p>
<p><span style="font-size: xx-small">The project client server using pipe we are using various terms like client,server,processing client,fork(),execl().There are three client ,three processing client and one server is used.</span></p>
<p><span style="font-size: xx-small">Client who sends the request to the server and server send their request to processing client to process the request after processing the request ,processing resend the information to server and server send to client.In this way server responding the request of client.</span></p>
<p><span style="font-size: xx-small">It is works as program create a pipe and then fork,creating a child process.both have a file discripter that access the file,one for each reading and writing.so,there are four file descripter in total</span></p>
<p><span style="font-size: xx-small">Client generate a process by using fork() and send these process to server .server has method execl() through which server will get data from client.</span></p>
<p><span style="font-size: xx-small">Hence the real advantage of using pipe when we wish to pass a data from one process to another.</span></p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/11/ipc-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
