{"id":4157,"date":"2024-04-27T10:36:46","date_gmt":"2024-04-27T05:06:46","guid":{"rendered":"https:\/\/cthecosmos.com\/?p=4157"},"modified":"2024-04-27T10:36:46","modified_gmt":"2024-04-27T05:06:46","slug":"%f0%9d%91%ac%f0%9d%92%99%f0%9d%92%91%f0%9d%92%8d%f0%9d%92%90%f0%9d%92%93%f0%9d%92%8a%f0%9d%92%8f%f0%9d%92%88-%f0%9d%92%95%f0%9d%92%89%f0%9d%92%86-%f0%9d%91%bb%f0%9d%92%98%f0%9d%92%90-%f0%9d%91%be","status":"publish","type":"post","link":"https:\/\/cthecosmos.com\/?p=4157","title":{"rendered":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f"},"content":{"rendered":"\n<p class=\"has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-1 wp-block-paragraph\" style=\"font-size:17px\">After our surface swipe into Unix Pipes, let&#8217;s steer our ship towards another intriguing concept: Duplex Communication using pipes in Linux. Imagine not just talking but also actively listening, all in real time. That&#8217;s the beauty of duplex communication.<br><br>When we talk about Unix Pipes, it&#8217;s usually a one-way dialogue. But with Duplex Communication, it&#8217;s a lively discussion where two processes can chat back and forth simultaneously.<br><br>\ud83c\udf09\ud835\udc69\ud835\udc96\ud835\udc8a\ud835\udc8d\ud835\udc85\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc69\ud835\udc93\ud835\udc8a\ud835\udc85\ud835\udc88\ud835\udc86\ud835\udc94 \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94:<br><br>\ud835\udc7a\ud835\udc8a\ud835\udc8f\ud835\udc88\ud835\udc8d\ud835\udc86 \ud835\udc73\ud835\udc82\ud835\udc8f\ud835\udc86 (\ud835\udc6f\ud835\udc82\ud835\udc8d\ud835\udc87 \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99) : Think of this as a narrow bridge where data can either go or come, but not both at the same time.<br><br>\ud835\udc6b\ud835\udc90\ud835\udc96\ud835\udc83\ud835\udc8d\ud835\udc86 \ud835\udc73\ud835\udc82\ud835\udc8f\ud835\udc86 (\ud835\udc6d\ud835\udc96\ud835\udc8d\ud835\udc8d \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99): Envision a broad highway with lanes going in both directions, allowing data to flow seamlessly to and fro.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"382\" data-attachment-id=\"4161\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4161\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex-1.png?fit=4304%2C1644&amp;ssl=1\" data-orig-size=\"4304,1644\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ponpipeduplex-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex-1.png?fit=1000%2C382&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex-1.png?resize=1000%2C382&#038;ssl=1\" alt=\"\" class=\"wp-image-4161\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-2 wp-block-paragraph\" style=\"font-size:17px\"><br>\ud83c\udf93 \ud835\udc6f\ud835\udc90\ud835\udc98 \ud835\udc85\ud835\udc90 \ud835\udc98\ud835\udc86 \ud835\udc8a\ud835\udc8e\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc8e\ud835\udc86\ud835\udc8f\ud835\udc95 \ud835\udc8a\ud835\udc95?<br><br><strong><em>Creation of Two Pipes:<\/em><\/strong><br><br>Pipe 1: Allows Parent to send data to Child.<br>Pipe 2: Allows Child to send data to Parent.<br><br><strong><em>Forking:<\/em><\/strong><br>A call to fork() will create a child process. Both parent and child will have access to both pipes.<br><br><strong><em>Parent Process:<\/em><\/strong><br>Closes the reading end of Pipe 1 and the writing end of Pipe 2.<br>Writes to the child via Pipe 1 and reads from the child via Pipe 2.<br><br><strong><em>Child Process:<\/em><\/strong><br>Closes the writing end of Pipe 1 and the reading end of Pipe 2.<br>Reads from the parent via Pipe 1 and writes to the parent via Pipe 2.<br><br>By doing this, both the parent and child processes can communicate with each other simultaneously, achieving full duplex communication.<br><br>While this approach provides full duplex communication, it doesn&#8217;t necessarily mean that both processes will be sending and receiving data at the exact same instant. The synchronization of reads and writes is crucial to ensure smooth communication.<br><br>Code with Explanation in the following images.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"728\" data-attachment-id=\"4168\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4168\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-3.png?fit=1104%2C804&amp;ssl=1\" data-orig-size=\"1104,804\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-3.png?fit=1000%2C728&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-3.png?resize=1000%2C728&#038;ssl=1\" alt=\"\" class=\"wp-image-4168\" style=\"width:690px;height:auto\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"367\" data-attachment-id=\"4169\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4169\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-4.png?fit=1183%2C434&amp;ssl=1\" data-orig-size=\"1183,434\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-4.png?fit=1000%2C367&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-4.png?resize=1000%2C367&#038;ssl=1\" alt=\"\" class=\"wp-image-4169\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"141\" data-attachment-id=\"4170\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=4170\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-5.png?fit=1280%2C181&amp;ssl=1\" data-orig-size=\"1280,181\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-5.png?fit=1000%2C141&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/image-5.png?resize=1000%2C141&#038;ssl=1\" alt=\"\" class=\"wp-image-4170\" \/><\/figure>\n\n\n\n<p class=\"has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-3 wp-block-paragraph\">LinkedIn Post:  <a href=\"https:\/\/www.linkedin.com\/posts\/t-yashwanth-naidu_earlycareer-embeddedsystems-learning-activity-7106856935857025024-DvV0\/?utm_source=share&amp;utm_medium=member_desktop\">https:\/\/www.linkedin.com\/posts\/t-yashwanth-naidu_earlycareer-embeddedsystems-learning-activity-7106856935857025024-DvV0\/?utm_source=share&amp;utm_medium=member_desktop<\/a><\/p>\n\n\n\n<p class=\"has-white-color has-text-color has-background has-link-color has-medium-font-size wp-elements-4 wp-block-paragraph\" style=\"background:linear-gradient(135deg,rgb(35,23,11) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)\">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><strong>An Article by: <\/strong>Yashwanth Naidu Tikkisetty<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=4157\" class=\"more-link\">Read More <span class=\"screen-reader-text\">\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f<\/span><\/a>","protected":false},"author":120055267,"featured_media":4160,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[769112296,36985,28627,30181,35264203,769114260,952411],"tags":[772321195,238926103,772321193,371637,12281096,88204,771201861,79812,1354040,34920936],"class_list":["post-4157","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-concepts-hub","category-c-programming","category-embedded","category-embedded-systems","category-linux-3","category-linuxlearnings","category-short-articles","tag-c-programming","tag-duplex-pipes","tag-embedded-systems","tag-ipc","tag-ipc-mechanism","tag-linux-fun","tag-linuxlearning-2","tag-pipes","tag-short-article","tag-ubuntu-2","fallback-thumbnail"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yashwanth Naidu Tikkisetty\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cthecosmos.com\/?p=4157\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta property=\"og:description\" content=\"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cthecosmos.com\/?p=4157\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-27T05:06:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-27T05:06:46+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#blogposting\",\"name\":\"\\ud835\\udc6c\\ud835\\udc99\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc90\\ud835\\udc93\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc88 \\ud835\\udc95\\ud835\\udc89\\ud835\\udc86 \\ud835\\udc7b\\ud835\\udc98\\ud835\\udc90-\\ud835\\udc7e\\ud835\\udc82\\ud835\\udc9a \\ud835\\udc7a\\ud835\\udc95\\ud835\\udc93\\ud835\\udc86\\ud835\\udc86\\ud835\\udc95\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc8f \\ud835\\udc73\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc96\\ud835\\udc99: \\ud835\\udc6b\\ud835\\udc96\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc86\\ud835\\udc99 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8e\\ud835\\udc8e\\ud835\\udc96\\ud835\\udc8f\\ud835\\udc8a\\ud835\\udc84\\ud835\\udc82\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f \\ud835\\udc98\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc89 \\ud835\\udc77\\ud835\\udc8a\\ud835\\udc91\\ud835\\udc86\\ud835\\udc94 \\ud83d\\udee3\\ufe0f - Yashwanth Naidu Tikkisetty\",\"headline\":\"\\ud835\\udc6c\\ud835\\udc99\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc90\\ud835\\udc93\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc88 \\ud835\\udc95\\ud835\\udc89\\ud835\\udc86 \\ud835\\udc7b\\ud835\\udc98\\ud835\\udc90-\\ud835\\udc7e\\ud835\\udc82\\ud835\\udc9a \\ud835\\udc7a\\ud835\\udc95\\ud835\\udc93\\ud835\\udc86\\ud835\\udc86\\ud835\\udc95\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc8f \\ud835\\udc73\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc96\\ud835\\udc99: \\ud835\\udc6b\\ud835\\udc96\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc86\\ud835\\udc99 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8e\\ud835\\udc8e\\ud835\\udc96\\ud835\\udc8f\\ud835\\udc8a\\ud835\\udc84\\ud835\\udc82\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f \\ud835\\udc98\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc89 \\ud835\\udc77\\ud835\\udc8a\\ud835\\udc91\\ud835\\udc86\\ud835\\udc94 \\ud83d\\udee3\\ufe0f\",\"author\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/cthecosmos.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/ponpipeduplex.png?fit=4304%2C1644&ssl=1\",\"width\":4304,\"height\":1644},\"datePublished\":\"2024-04-27T10:36:46+05:30\",\"dateModified\":\"2024-04-27T10:36:46+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#webpage\"},\"articleSection\":\"C Concepts Hub, c programming, Embedded, Embedded Systems, linux, linuxlearnings, SHORT ARTICLES, c programming, duplex pipes, Embedded Systems, ipc, ipc mechanism, Linux Fun, linuxlearning, Pipes, SHORT ARTICLE, ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cthecosmos.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=28627#listItem\",\"name\":\"Embedded\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=28627#listItem\",\"position\":2,\"name\":\"Embedded\",\"item\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=28627\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#listItem\",\"name\":\"\\ud835\\udc6c\\ud835\\udc99\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc90\\ud835\\udc93\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc88 \\ud835\\udc95\\ud835\\udc89\\ud835\\udc86 \\ud835\\udc7b\\ud835\\udc98\\ud835\\udc90-\\ud835\\udc7e\\ud835\\udc82\\ud835\\udc9a \\ud835\\udc7a\\ud835\\udc95\\ud835\\udc93\\ud835\\udc86\\ud835\\udc86\\ud835\\udc95\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc8f \\ud835\\udc73\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc96\\ud835\\udc99: \\ud835\\udc6b\\ud835\\udc96\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc86\\ud835\\udc99 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8e\\ud835\\udc8e\\ud835\\udc96\\ud835\\udc8f\\ud835\\udc8a\\ud835\\udc84\\ud835\\udc82\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f \\ud835\\udc98\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc89 \\ud835\\udc77\\ud835\\udc8a\\ud835\\udc91\\ud835\\udc86\\ud835\\udc94 \\ud83d\\udee3\\ufe0f\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#listItem\",\"position\":3,\"name\":\"\\ud835\\udc6c\\ud835\\udc99\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc90\\ud835\\udc93\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc88 \\ud835\\udc95\\ud835\\udc89\\ud835\\udc86 \\ud835\\udc7b\\ud835\\udc98\\ud835\\udc90-\\ud835\\udc7e\\ud835\\udc82\\ud835\\udc9a \\ud835\\udc7a\\ud835\\udc95\\ud835\\udc93\\ud835\\udc86\\ud835\\udc86\\ud835\\udc95\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc8f \\ud835\\udc73\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc96\\ud835\\udc99: \\ud835\\udc6b\\ud835\\udc96\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc86\\ud835\\udc99 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8e\\ud835\\udc8e\\ud835\\udc96\\ud835\\udc8f\\ud835\\udc8a\\ud835\\udc84\\ud835\\udc82\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f \\ud835\\udc98\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc89 \\ud835\\udc77\\ud835\\udc8a\\ud835\\udc91\\ud835\\udc86\\ud835\\udc94 \\ud83d\\udee3\\ufe0f\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=28627#listItem\",\"name\":\"Embedded\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Yashwanth Naidu Tikkisetty\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Yashwanth Naidu Tikkisetty\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#webpage\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157\",\"name\":\"\\ud835\\udc6c\\ud835\\udc99\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc90\\ud835\\udc93\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc88 \\ud835\\udc95\\ud835\\udc89\\ud835\\udc86 \\ud835\\udc7b\\ud835\\udc98\\ud835\\udc90-\\ud835\\udc7e\\ud835\\udc82\\ud835\\udc9a \\ud835\\udc7a\\ud835\\udc95\\ud835\\udc93\\ud835\\udc86\\ud835\\udc86\\ud835\\udc95\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc8f \\ud835\\udc73\\ud835\\udc8a\\ud835\\udc8f\\ud835\\udc96\\ud835\\udc99: \\ud835\\udc6b\\ud835\\udc96\\ud835\\udc91\\ud835\\udc8d\\ud835\\udc86\\ud835\\udc99 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8e\\ud835\\udc8e\\ud835\\udc96\\ud835\\udc8f\\ud835\\udc8a\\ud835\\udc84\\ud835\\udc82\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f \\ud835\\udc98\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc89 \\ud835\\udc77\\ud835\\udc8a\\ud835\\udc91\\ud835\\udc86\\ud835\\udc94 \\ud83d\\udee3\\ufe0f - Yashwanth Naidu Tikkisetty\",\"description\":\"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/cthecosmos.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/ponpipeduplex.png?fit=4304%2C1644&ssl=1\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157\\\/#mainImage\",\"width\":4304,\"height\":1644},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=4157#mainImage\"},\"datePublished\":\"2024-04-27T10:36:46+05:30\",\"dateModified\":\"2024-04-27T10:36:46+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"description\":\"Embedded Systems | Space Blogger\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty","description":"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.","canonical_url":"https:\/\/cthecosmos.com\/?p=4157","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cthecosmos.com\/?p=4157#blogposting","name":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty","headline":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f","author":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"publisher":{"@id":"https:\/\/cthecosmos.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex.png?fit=4304%2C1644&ssl=1","width":4304,"height":1644},"datePublished":"2024-04-27T10:36:46+05:30","dateModified":"2024-04-27T10:36:46+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cthecosmos.com\/?p=4157#webpage"},"isPartOf":{"@id":"https:\/\/cthecosmos.com\/?p=4157#webpage"},"articleSection":"C Concepts Hub, c programming, Embedded, Embedded Systems, linux, linuxlearnings, SHORT ARTICLES, c programming, duplex pipes, Embedded Systems, ipc, ipc mechanism, Linux Fun, linuxlearning, Pipes, SHORT ARTICLE, ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/cthecosmos.com\/?p=4157#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cthecosmos.com#listItem","position":1,"name":"Home","item":"https:\/\/cthecosmos.com","nextItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=28627#listItem","name":"Embedded"}},{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=28627#listItem","position":2,"name":"Embedded","item":"https:\/\/cthecosmos.com\/?cat=28627","nextItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?p=4157#listItem","name":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?p=4157#listItem","position":3,"name":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f","previousItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=28627#listItem","name":"Embedded"}}]},{"@type":"Person","@id":"https:\/\/cthecosmos.com\/#person","name":"Yashwanth Naidu Tikkisetty","image":{"@type":"ImageObject","@id":"https:\/\/cthecosmos.com\/?p=4157#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Yashwanth Naidu Tikkisetty"}},{"@type":"Person","@id":"https:\/\/cthecosmos.com\/?author=120055267#author","url":"https:\/\/cthecosmos.com\/?author=120055267","name":"Yashwanth Naidu Tikkisetty","image":{"@type":"ImageObject","@id":"https:\/\/cthecosmos.com\/?p=4157#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Yashwanth Naidu Tikkisetty"}},{"@type":"WebPage","@id":"https:\/\/cthecosmos.com\/?p=4157#webpage","url":"https:\/\/cthecosmos.com\/?p=4157","name":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty","description":"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cthecosmos.com\/#website"},"breadcrumb":{"@id":"https:\/\/cthecosmos.com\/?p=4157#breadcrumblist"},"author":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"creator":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex.png?fit=4304%2C1644&ssl=1","@id":"https:\/\/cthecosmos.com\/?p=4157\/#mainImage","width":4304,"height":1644},"primaryImageOfPage":{"@id":"https:\/\/cthecosmos.com\/?p=4157#mainImage"},"datePublished":"2024-04-27T10:36:46+05:30","dateModified":"2024-04-27T10:36:46+05:30"},{"@type":"WebSite","@id":"https:\/\/cthecosmos.com\/#website","url":"https:\/\/cthecosmos.com\/","name":"Yashwanth Naidu Tikkisetty","description":"Embedded Systems | Space Blogger","inLanguage":"en-US","publisher":{"@id":"https:\/\/cthecosmos.com\/#person"}}]},"og:locale":"en_US","og:site_name":"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger","og:type":"article","og:title":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty","og:description":"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.","og:url":"https:\/\/cthecosmos.com\/?p=4157","og:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:secure_url":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:width":1200,"og:image:height":1200,"article:published_time":"2024-04-27T05:06:46+00:00","article:modified_time":"2024-04-27T05:06:46+00:00","twitter:card":"summary_large_image","twitter:title":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f - Yashwanth Naidu Tikkisetty","twitter:description":"Unix Pipes allow one-way communication, but Duplex Communication enables two processes to chat back and forth simultaneously. Using two pipes, data can flow both ways between parent and child processes. By coordinating the reading and writing ends, full duplex communication is achieved, despite not guaranteeing simultaneous data exchange.","twitter:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png"},"aioseo_meta_data":{"post_id":"4157","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-31 20:20:33","updated":"2025-08-31 20:20:33","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cthecosmos.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cthecosmos.com\/?cat=28627\" title=\"Embedded\">Embedded<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cthecosmos.com"},{"label":"Embedded","link":"https:\/\/cthecosmos.com\/?cat=28627"},{"label":"\ud835\udc6c\ud835\udc99\ud835\udc91\ud835\udc8d\ud835\udc90\ud835\udc93\ud835\udc8a\ud835\udc8f\ud835\udc88 \ud835\udc95\ud835\udc89\ud835\udc86 \ud835\udc7b\ud835\udc98\ud835\udc90-\ud835\udc7e\ud835\udc82\ud835\udc9a \ud835\udc7a\ud835\udc95\ud835\udc93\ud835\udc86\ud835\udc86\ud835\udc95\ud835\udc94 \ud835\udc8a\ud835\udc8f \ud835\udc73\ud835\udc8a\ud835\udc8f\ud835\udc96\ud835\udc99: \ud835\udc6b\ud835\udc96\ud835\udc91\ud835\udc8d\ud835\udc86\ud835\udc99 \ud835\udc6a\ud835\udc90\ud835\udc8e\ud835\udc8e\ud835\udc96\ud835\udc8f\ud835\udc8a\ud835\udc84\ud835\udc82\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc98\ud835\udc8a\ud835\udc95\ud835\udc89 \ud835\udc77\ud835\udc8a\ud835\udc91\ud835\udc86\ud835\udc94 \ud83d\udee3\ufe0f","link":"https:\/\/cthecosmos.com\/?p=4157"}],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8CiEf-153","jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/ponpipeduplex.png?fit=4304%2C1644&ssl=1","_links":{"self":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/4157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/users\/120055267"}],"replies":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4157"}],"version-history":[{"count":7,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/4157\/revisions"}],"predecessor-version":[{"id":4172,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/4157\/revisions\/4172"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/media\/4160"}],"wp:attachment":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}