Corrigendum:    U050

Date:           July 2000

Document:       C808
                Networking Services (XNS), Issue 5.2

Code:           1720  07/00  C808/U050

----------------------------------------------------------------------------

Change Number:  U050/1

On the  manual page (Page 100):

Change:

  struct hostent *gethostbyaddr(const void *, socket_t, int)
  struct hostent *getipnodebyaddr(const void *, socket_t, int, int *)

to:

  struct hostent *gethostbyaddr(const void *, socklen_t, int)
  struct hostent *getipnodebyaddr(const void *, socklen_t, int, int *)

And add at the bottom of page 100:

  "The type socklen_t shall be defined through typedef as described
   in <sys/socket.h>."

Rationale:

The type socket_t is not defined and should be socklen_t, and there is
no reference to where socklen_t is defined, which is needed in
struct addrinfo.

----------------------------------------------------------------------------

Change Number:  U050/2

On the  manual page (Page 100), DESCRIPTION:

Add the following prototypes:

  void  freeaddrinfo(struct addrinfo *);
  char *gai_strerror(int);
  int   getaddrinfo(const char *, const char *, const struct addrinfo *,
        struct addrinfo **);
  int   getnameinfo(const struct sockaddr *, socklen_t, char *,
        socklen_t, char *, socklen_t, unsigned int);

----------------------------------------------------------------------------

Change Number:  U050/3

On the <netinet/in.h> for IPv6 manual page (Page 115):

In the sockaddr_in6 structure (the table after paragraph 2 of
the DESCRIPTION), swap the columns uint32_t and sin6_scope_id.

----------------------------------------------------------------------------



.....