(9914) TCP/IP Services Docs, Examples?

Archive of the OpenVMS Ask the Wizard (ATW) questions and answers database.
Locked

Topic author
User
Visitor
Posts: 0
Joined: Mon Jan 10, 2022 8:16 am
Reputation: 0
Status: Offline

(9914) TCP/IP Services Docs, Examples?

Post by User » Sun Nov 28, 2004 8:26 am

I run a program created, without change, from tcpip$examples:tcpip$tcp_client_qio.c

It fails on sys$assign for TCPIP$DEVICE. This is a system logical defined as _BG0:.

Other socket based TCPIP programs work Ok.

Also I used to use an excellent site called 'Digital TCP-IP Services for Open VMS' which described the various Socket routines. This now contains TCPIP management information. Is there now a site which describes basic VMS Socket programming?

Mark Battle
Last edited by marty.stu on Wed Aug 10, 2022 9:29 am, edited 1 time in total.


Wizard
Visitor
Posts: 0
Joined: Mon Jan 10, 2022 8:17 am
Reputation: 0
Status: Offline

Re: (9914) TCP/IP Services Docs, Examples?

Post by Wizard » Mon Nov 29, 2004 8:26 am

That the application fails on an $assign call is unfortunately insufficient information here. The OpenVMS Wizard is quite often unable to answer a generic problem statements, as the range of potential causes for generic problem statements is, well, huge. (There are a number of reasons why an $assign call might fail. $assign returns specific errors, of course, and application code is free to process these errors according to local needs -- the use of macros such as $VMS_STATUS_SUCCESS() -- from stsdef.h -- can be useful as a generic error-handling mechanism.)

Do also consider providing details of product versions and the ECO level, such as the version of TCP/IP Services -- and if you
are not current, do seriously consider upgrading to the most current release and ECO. In this case, your OpenVMS VAX version is old, and your TCP/IP Services version is unspecified but -- if it matches the OpenVMS VAX version -- it is likely also outdated. ECO kits are available for OpenVMS VAX and for TCP/IP Services. Please seriously consider at least the ECO, if not the upgrade and the ECO.

The TCP/IP Services documentation is available at the main OpenVMS documentation website, and the C and $qio APIs are documented in the available TCP/IP Services manuals at the main OpenVMS documentation website. (The current C run-time library (RTL) manual is also now directly part of the OpenVMS documentation set, having been migrated from the C compiler documentation into the OpenVMS documentation.)
Last edited by marty.stu on Wed Aug 10, 2022 9:35 am, edited 1 time in total.

Locked