<?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: C socket programming, accept doesn't work on queue in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735238#M33607</link>
    <description>Mustafa,&lt;BR /&gt;&lt;BR /&gt;wouldn't this indicate, that it's not successfully completing the LISTEN call ?&lt;BR /&gt;&lt;BR /&gt;The batch job is run on the same node, right ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Mon, 20 Feb 2006 11:51:46 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2006-02-20T11:51:46Z</dc:date>
    <item>
      <title>C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735234#M33603</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have written a C socket programming on OpenVMS 7.3.2. The program has "socket, bind, listen and accept" command sequences in it and working properly when I run it at the command prompt with "run x.exe". However when I put it in a DCL file and make it run on a queue, it couldn't run. It makes socket, bind and listen commands successfully but it couldn't make "accept" command in the source file. It is just seen working (by show queu...) but in the log file it can't reach the accept line. How can I make it run using the queue...&lt;BR /&gt;&lt;BR /&gt;Best Regards...</description>
      <pubDate>Mon, 20 Feb 2006 11:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735234#M33603</guid>
      <dc:creator>mustafa_12</dc:creator>
      <dc:date>2006-02-20T11:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735235#M33604</link>
      <description>Mustafa,&lt;BR /&gt;&lt;BR /&gt;does the program work, if you run the DCL command file interactively (@x.com) instead of submitting it into a batch queue ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 20 Feb 2006 11:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735235#M33604</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-02-20T11:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735236#M33605</link>
      <description>Do you check the return values of your (bind,listen,accept) calls? If one of them is -1, what does errno contain?&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Mon, 20 Feb 2006 11:35:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735236#M33605</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2006-02-20T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735237#M33606</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;Yes, it is working if I run the DCL command file by @xxx.com. Also, I can check it by "tcpip netstat -an" and see that the port is in LISTEN state. However, when I submit the DCL command file to a queue and then "tcpip netstat -an", I could not see the port in LISTEN state...&lt;BR /&gt;&lt;BR /&gt;Thanks...</description>
      <pubDate>Mon, 20 Feb 2006 11:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735237#M33606</guid>
      <dc:creator>mustafa_12</dc:creator>
      <dc:date>2006-02-20T11:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735238#M33607</link>
      <description>Mustafa,&lt;BR /&gt;&lt;BR /&gt;wouldn't this indicate, that it's not successfully completing the LISTEN call ?&lt;BR /&gt;&lt;BR /&gt;The batch job is run on the same node, right ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 20 Feb 2006 11:51:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735238#M33607</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-02-20T11:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735239#M33608</link>
      <description>Mustafa,&lt;BR /&gt;&lt;BR /&gt;the local port number should even be visible immediately after the BIND call.&lt;BR /&gt;&lt;BR /&gt;Please check the return status of these calls.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 20 Feb 2006 12:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735239#M33608</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-02-20T12:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: C socket programming, accept doesn't work on queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735240#M33609</link>
      <description>Yes, you are right. The queue that I submit the job is running in another node. So that node is listening the port. Actually it was running at the same node that I submit the job, but the queue migrated to another node since the development node (that I submitted the job) was rebooted 3 days ago. Sorry, I have missed that point.&lt;BR /&gt;&lt;BR /&gt;Anyway, I thank you all for your fast and guiding responses...&lt;BR /&gt;&lt;BR /&gt;BR...</description>
      <pubDate>Mon, 20 Feb 2006 12:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/c-socket-programming-accept-doesn-t-work-on-queue/m-p/3735240#M33609</guid>
      <dc:creator>mustafa_12</dc:creator>
      <dc:date>2006-02-20T12:29:06Z</dc:date>
    </item>
  </channel>
</rss>

