[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5494.0. "sethostent() on OpenVMS Alpha ?" by SOS6::BERNARD (Bernard Ourghanlian, Alpha Resource Center) Fri May 09 1997 06:42

    I'm trying to use sethostent() on OpenVMS Alpha V7.1/DECC 5.3 without any
    success (UCX is configured and operationnal on my system). Here is a very
    simplified exemple :

#include <errno.h>
#include <netdb.h>

main()
{
    sethostent (1);

    if (errno != 0)
    {
       perror ("sethostent");
       exit (1);
    }
}
 
$ cc sethostent/pref=all

       perror ("sethostent");
.......^
%CC-I-IMPLICITFUNC, In this statement, the identifier "perror" is implicitly
declared as a function.
at line number 9 in file USERS4:[BERNARD]SETHOSTENT.C;4

       exit (1);
.......^
%CC-I-IMPLICITFUNC, In this statement, the identifier "exit" is implicitly
declared as a function.
at line number 10 in file USERS4:[BERNARD]SETHOSTENT.C;4
$ link sethostent
$ run sethostent
sethostent: function not implemented
    
    Why is sethostent not implemented ? When I look at the image during the
    runtime, ucx$ipc_shr is dynamically loaded which means sethostent() is a 
    only a wrapper to a call to lib$find_image_symbol.
    
    Am I missing something ? Do you intend to address this problem ?

    Here is a mail I've got from Duane Smith about this subject :
    
From:	TLE::D_SMITH      "Duane Smith -- DEC C RTL"  7-MAY-1997 21:28:09.17
To:	SOS6::BERNARD
CC:	D_SMITH, WHITMAN
Subj:	The functions required backend support

Bernard,

  Thank you for bringing this to our attention.  In February, 1995 my group
  worked with the various tcp/ip vendors on a specification for new routines
  needing supported by ucx$ipc_shr.  Many of these interfaces were based on
  the "IP Address Resolution Interfaces" section of the X/Open Networking
  Services CAE Specification.

  These particular interfaces needed work done in both the front and backends.
  As you correctly point out, the DEC C RTL is a thin layer on top of the UCX
  interface.

  You probably want to raise your questions in the LASSIE::UCX notes 
  conference.  It is not clear at all if and when they plan to add new
  interfaces to UCX.  An analyze/image of sys$share:ucx$ipc_shr.exe on my
  system showed no such hostent, netent, or servent interfaces.

Duane Smith
T.RTitleUserPersonal
Name
DateLines
5494.1Send moneyLADDIE::TIBBERTLee Tibbert, DTN 226-6115Wed May 21 1997 04:2515
Bernard,

A couple of C #includes would get rid of those 
C errors.

After that, send money and we will implement (almost)
anything you want ;-)

That is a humorous way of saying that there is more
work to be done in IP land that there are hands to
do it. Everything gets prioritized on how much
business sense it makes.

Lee