<?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 Socket select call ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975058#M546959</link>
    <description>Dear gurus,&lt;BR /&gt;&lt;BR /&gt;our application vendor encountered some abnormal behaviour in their application developed on HP-UX 11i platform. They would like to know the following:&lt;BR /&gt;&lt;BR /&gt;In what condition, a socket select call on read is completed but zero bytes being returned when application tried to read the socket with readsize of 1.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;</description>
    <pubDate>Sun, 23 Apr 2006 20:24:30 GMT</pubDate>
    <dc:creator>sstan</dc:creator>
    <dc:date>2006-04-23T20:24:30Z</dc:date>
    <item>
      <title>Socket select call ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975058#M546959</link>
      <description>Dear gurus,&lt;BR /&gt;&lt;BR /&gt;our application vendor encountered some abnormal behaviour in their application developed on HP-UX 11i platform. They would like to know the following:&lt;BR /&gt;&lt;BR /&gt;In what condition, a socket select call on read is completed but zero bytes being returned when application tried to read the socket with readsize of 1.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Apr 2006 20:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975058#M546959</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2006-04-23T20:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Socket select call ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975059#M546960</link>
      <description>when the remote close the socket, the select call is completed and zero will be read.</description>
      <pubDate>Mon, 24 Apr 2006 06:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975059#M546960</guid>
      <dc:creator>shiwudao</dc:creator>
      <dc:date>2006-04-24T06:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Socket select call ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975060#M546961</link>
      <description>For a socket associated with a TCP connection a read return of zero indicates (as it does on virtually _all_ platforms) that the remote TCP has sent us a FINished segment meaning that we can expect to receive no more data from the remote.&lt;BR /&gt;&lt;BR /&gt;What the local application should do with that knowledge will "depend."  Depending on the application semantics, it could mean that the remote application is also no longer expecting to receive data from us.&lt;BR /&gt;&lt;BR /&gt;It could also mean that the remote process died for some reason.  When the process died, and all its file descriptors were close()'d that would have triggered the FIN to be sent.&lt;BR /&gt;&lt;BR /&gt;For a socket associated with a UDP endpoint a zero byte return from read() et al means simply that someone sent use a zero-length UDP datagram.&lt;BR /&gt;&lt;BR /&gt;For a socket associated with other protocols, it will depend on the protocol.&lt;BR /&gt;&lt;BR /&gt;A read return of zero meaning remote close for TCP is a pretty fundamental thing.  I would have expected an application vendor to be aware of that.  If they were not, I would be somewhat concerned about their ability to write a "proper" sockets-using application.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Apr 2006 19:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975060#M546961</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2006-04-24T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Socket select call ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975061#M546962</link>
      <description>thanku all</description>
      <pubDate>Tue, 25 Apr 2006 20:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/socket-select-call/m-p/4975061#M546962</guid>
      <dc:creator>sstan</dc:creator>
      <dc:date>2006-04-25T20:54:42Z</dc:date>
    </item>
  </channel>
</rss>

