<?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 Re: Errors : SIGPIPE , Connection Reset by Peer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781773#M547083</link>
    <description>Hi Jaliah, &lt;BR /&gt;Socket information can be found in /etc/services &lt;BR /&gt;&lt;BR /&gt;what socket are you using? &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 03 May 2006 10:45:12 GMT</pubDate>
    <dc:creator>Ronaldinho</dc:creator>
    <dc:date>2006-05-03T10:45:12Z</dc:date>
    <item>
      <title>Errors : SIGPIPE , Connection Reset by Peer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781772#M547082</link>
      <description>OS : HP-UX&lt;BR /&gt;&lt;BR /&gt;I have received a "Connection reset by peer" error while reading from a socket and "SIGPIPE" while writing to a socket. I have given shutdown(sockfd,SHUT_RDWR) in my prototype to simulate the error.&lt;BR /&gt;&lt;BR /&gt;In my realtime application i have ignored the SIGHUP signal. Even then I receive the "Connection reset by peer" and "SIGPIPE" errors. Can anyone help me to figure out how the socket is disabled for read and write?</description>
      <pubDate>Wed, 03 May 2006 07:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781772#M547082</guid>
      <dc:creator>Jalaiah M</dc:creator>
      <dc:date>2006-05-03T07:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Errors : SIGPIPE , Connection Reset by Peer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781773#M547083</link>
      <description>Hi Jaliah, &lt;BR /&gt;Socket information can be found in /etc/services &lt;BR /&gt;&lt;BR /&gt;what socket are you using? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 May 2006 10:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781773#M547083</guid>
      <dc:creator>Ronaldinho</dc:creator>
      <dc:date>2006-05-03T10:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Errors : SIGPIPE , Connection Reset by Peer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781774#M547084</link>
      <description>Hi Jalaiah,&lt;BR /&gt;Usually it happens when the peer had reset the connection.&lt;BR /&gt;You can reproduce it with an application which set the abortive linger option - look at setsockopt(2)-(linger.l_onoff=1 linger.l_linger=0) &lt;BR /&gt;When you then close that socket a reset is send in place of a FIN.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Else you can try tcp_discon_by_addr.&lt;BR /&gt;&lt;BR /&gt;This may happen if the connectivity is lost too.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2006 03:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781774#M547084</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2006-05-04T03:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Errors : SIGPIPE , Connection Reset by Peer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781775#M547085</link>
      <description>Hi Ronaldinho,&lt;BR /&gt;&lt;BR /&gt;Socket used is : TCP/IP.&lt;BR /&gt;&lt;BR /&gt;In realtime application, "shutdown()" is not called in any case. Is there any ways the OS-Kernel decides to shutdown the socket for read/write automatically in raise of any other events? If OS makes it, then is it logged anywhere?</description>
      <pubDate>Fri, 05 May 2006 03:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781775#M547085</guid>
      <dc:creator>Jalaiah M</dc:creator>
      <dc:date>2006-05-05T03:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Errors : SIGPIPE , Connection Reset by Peer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781776#M547086</link>
      <description>There is 3 way to have a connection being reset:&lt;BR /&gt;1) the peer system is using the linger option which makes that close cause a reset&lt;BR /&gt;2) a ndd tcp_discon or tcp_discon_byaddr&lt;BR /&gt;3) the connectivity with the peer system had been lost, and there are still messages unacked after a timeout. then the connection get reset and cause that sequence.&lt;BR /&gt;&lt;BR /&gt; for instance:&lt;BR /&gt;  write(mysocket,..)&lt;BR /&gt;   we loose connectivity&lt;BR /&gt;   after some retransmitions, the connection is reset causing the connection to be reset.&lt;BR /&gt;Then the read return an error with connection reset by peer error, and then any write cause a SIGPIPE except if it is ignored, then write() return an error with EPIPE.&lt;BR /&gt;&lt;BR /&gt;Else I don't see.</description>
      <pubDate>Fri, 05 May 2006 04:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/errors-sigpipe-connection-reset-by-peer/m-p/3781776#M547086</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2006-05-05T04:59:41Z</dc:date>
    </item>
  </channel>
</rss>

