- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- TRU64 v4.0b write socket error
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
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
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
01-08-2016 10:07 AM - edited 01-08-2016 10:15 AM
01-08-2016 10:07 AM - edited 01-08-2016 10:15 AM
TRU64 v4.0b write socket error
hi,
I need to run a server application on a TRU64 v4.0b
I was run this app on a real DEC Alphaserver 2000 correctly, but i need to migration Stromasys CHARON-AXP
on new machine I forced to recompile kernel to start my machine
My Unix started up correctly but when i run my spesial application in the app i get "socket is not be opened or was already closed " and closed app.
-----------------------
for test I going to "http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html"
and get "http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/server.c"
after that i compile this app on my TRU64 v4.0b and I get this error: "ERROR, no port provided"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2016 04:08 PM
01-08-2016 04:08 PM
Re: TRU64 v4.0b write socket error
> [...] TRU64 v4.0b
That's older than anyting I have, but ...
> I was run this app on a real DEC Alphaserver 2000 correctly, [...]
> after that i compile this app on my TRU64 v4.0b and I get this error:
As usual, showing actual commands with their actual output can be
more helpful than vague descriptions or interpretations.
> "ERROR, no port provided"
Did you look at the program?
> if (argc < 2) {
> fprintf(stderr,"ERROR, no port provided\n");
> exit(1);
> }
If you don't specify a port number on your (invisible) command line,
then you can expect to get this message.
On my handy Mac, I got fewer warnings if I added these:
#include <stdlib.h>
#include <unistd.h>
#include <strings.h>
I haven't tried it on a Tru64 (V5.1B) system, but I'd expect similar
results there.
If you still have trouble when you specify a port number when you run
the program, then ask again (with a better problem description).
> [...] when i run my spesial application in the app i get "socket is
> not be opened or was already closed " and closed app.
With my weak psychic powers, I can't see your special application
code, so I have no idea what's wrong there.