<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'chat program using linux networking' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'chat program using linux networking' posted on the 'LINUX programming' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Fri, 24 May 2013 23:05:53 -0700</pubDate>
    <lastBuildDate>Fri, 24 May 2013 23:05:53 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>chat program using linux networking</title>
      <link>http://www.programmersheaven.com/mb/Linux/385694/385694/chat-program-using-linux-networking/</link>
      <description>Hi everyone,&lt;br /&gt;
I have just started network programming on linux and i wrote some very basic client-server programs. My university has a lan and i thought it would be fun to write a chat program for the lan, but i dont know how to proceed, can anyone help me out?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/385694/385694/chat-program-using-linux-networking/</guid>
      <pubDate>Fri, 13 Feb 2009 14:03:49 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>Re: chat program using linux networking</title>
      <link>http://www.programmersheaven.com/mb/Linux/385694/385970/re-chat-program-using-linux-networking/#385970</link>
      <description>Maybe you could fork your main process into two:&lt;br /&gt;
&lt;br /&gt;
The father will read user input and send it through the socket.&lt;br /&gt;
The son will receive data and display it on the screen. &lt;br /&gt;
&lt;br /&gt;
If I am right, you can't use the same socket for both son and father, as the file descriptor (the socket) is not shared among them. Each process (father and son) will open its own connection. You could also use a thread, which I think that would make your job a lot easier.&lt;br /&gt;
&lt;br /&gt;
Anyway, it is an idea.&lt;br /&gt;
Good luck!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/385694/385970/re-chat-program-using-linux-networking/#385970</guid>
      <pubDate>Thu, 19 Feb 2009 05:45:06 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>Re: chat program using linux networking</title>
      <link>http://www.programmersheaven.com/mb/Linux/385694/385971/re-chat-program-using-linux-networking/#385971</link>
      <description>Maybe you could fork your main process into two:&lt;br /&gt;
&lt;br /&gt;
The father will read user input and send it through the socket.&lt;br /&gt;
The son will receive data and display it on the screen. &lt;br /&gt;
&lt;br /&gt;
If I am right, you can't use the same socket for both son and father, as the file descriptor (the socket) is not shared among them. Each process (father and son) will open its own connection. You could also use a thread, which I think that would make your job a lot easier.&lt;br /&gt;
&lt;br /&gt;
Anyway, it is an idea.&lt;br /&gt;
Good luck!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/385694/385971/re-chat-program-using-linux-networking/#385971</guid>
      <pubDate>Thu, 19 Feb 2009 05:45:43 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>Re: chat program using linux networking</title>
      <link>http://www.programmersheaven.com/mb/Linux/385694/385972/re-chat-program-using-linux-networking/#385972</link>
      <description>Maybe you could fork your main process into two:&lt;br /&gt;
&lt;br /&gt;
The father will read user input and send it through the socket.&lt;br /&gt;
The son will receive data and display it on the screen. &lt;br /&gt;
&lt;br /&gt;
If I am right, you can't use the same socket for both son and father, as the file descriptor (the socket) is not shared among them. Each process (father and son) will open its own connection. You could also use a thread, which I think that would make your job a lot easier.&lt;br /&gt;
&lt;br /&gt;
Anyway, it is an idea.&lt;br /&gt;
Good luck!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/385694/385972/re-chat-program-using-linux-networking/#385972</guid>
      <pubDate>Thu, 19 Feb 2009 05:45:44 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/Linux/385694/386067/this-post-has-been-deleted/#386067</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/Linux/385694/386067/this-post-has-been-deleted/#386067</guid>
      <pubDate>Fri, 20 Feb 2009 12:23:19 -0700</pubDate>
      <category>LINUX programming</category>
    </item>
  </channel>
</rss>