<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic soket programming with C in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560486#M725052</link>
    <description>I tested C socket client and server programs and run them on UNIX machines. ( server program in hpux 11.00  and client on SCO unix). It can communicate properly and can write data from client to server. But if I remove the network connection between client and server the program is not giving any error message and terminate the programm as it wrote data succesfully.&lt;BR /&gt;&lt;BR /&gt;If anybody can explain me how it happen and handle network breakdowns in client server programs with C , it will be a great help&lt;BR /&gt;&lt;BR /&gt;-suranji</description>
    <pubDate>Thu, 02 Aug 2001 08:27:46 GMT</pubDate>
    <dc:creator>suranji</dc:creator>
    <dc:date>2001-08-02T08:27:46Z</dc:date>
    <item>
      <title>soket programming with C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560486#M725052</link>
      <description>I tested C socket client and server programs and run them on UNIX machines. ( server program in hpux 11.00  and client on SCO unix). It can communicate properly and can write data from client to server. But if I remove the network connection between client and server the program is not giving any error message and terminate the programm as it wrote data succesfully.&lt;BR /&gt;&lt;BR /&gt;If anybody can explain me how it happen and handle network breakdowns in client server programs with C , it will be a great help&lt;BR /&gt;&lt;BR /&gt;-suranji</description>
      <pubDate>Thu, 02 Aug 2001 08:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560486#M725052</guid>
      <dc:creator>suranji</dc:creator>
      <dc:date>2001-08-02T08:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: soket programming with C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560487#M725053</link>
      <description>Hi Suranji,&lt;BR /&gt;&lt;BR /&gt;This is a normal behavior ( because your tcp ip stack is still there ).&lt;BR /&gt;&lt;BR /&gt;But when the client start writting to the socket then it will notify that the connection is lost ( by timeout ).&lt;BR /&gt;&lt;BR /&gt;If you want to have an iimediate error, just stop the netd process then the server process will detect this failure immediatly ( by the listen() function ).&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Thu, 02 Aug 2001 09:35:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560487#M725053</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-08-02T09:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: soket programming with C</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560488#M725054</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I would expect this kind of behavior when there is a "catastrophic" loss of connection.&lt;BR /&gt;&lt;BR /&gt;For a understanding, see my comments, Carsten Krege's and Rick Jones' in this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc56a46ff9277d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xc56a46ff9277d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The link that Carsten offers is quite good.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 02 Aug 2001 09:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/soket-programming-with-c/m-p/2560488#M725054</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-02T09:45:16Z</dc:date>
    </item>
  </channel>
</rss>

