- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- C socket programming, accept doesn't work on queue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:19 AM
02-20-2006 03:19 AM
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...
Best Regards...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:34 AM
02-20-2006 03:34 AM
Re: C socket programming, accept doesn't work on queue
does the program work, if you run the DCL command file interactively (@x.com) instead of submitting it into a batch queue ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:35 AM
02-20-2006 03:35 AM
Re: C socket programming, accept doesn't work on queue
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:46 AM
02-20-2006 03:46 AM
Re: C socket programming, accept doesn't work on queue
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...
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 03:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 04:15 AM
02-20-2006 04:15 AM
Re: C socket programming, accept doesn't work on queue
the local port number should even be visible immediately after the BIND call.
Please check the return status of these calls.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 04:29 AM
02-20-2006 04:29 AM
Re: C socket programming, accept doesn't work on queue
Anyway, I thank you all for your fast and guiding responses...
BR...