Quick Reference Table - HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual

Bsd sockets interface programmer’s guide
Hide thumbs Also See for Rp3440-4 - 9000 - 0 MB RAM:
Table of Contents

Advertisement

BSD Sockets Quick Reference Table

Quick Reference Table

Quick Reference Table
Release 10.10 of the HP-UX operating system supports two variations of
sockets--HP-UX BSD Sockets and X/Open Sockets. To use X/Open
sockets, users must make an addition to their make files by including the
"-l xnet" argument with the "c89" or "cc" utilities. For detailed
information about HP- UX BSD sockets, see this manual as well as the
man pages. For detailed information about X/Open sockets, see "CAE
Specification, Networking Services, Issue 4, X/Open" and the man pages.
Note that the "msghdr" structures have different definitions between
HP-UX BSD Sockets and X/ Open Sockets for the RECVMSG and
SENDMSG calls. See the appropriate documentation for more
information.
Table A-1
Comparison of HP-UX and X/Open Sockets
HP-UX
accept
int accept (int socket, void *address, int
*address_len);
bind
int bind (int socket, const void *address,
int address_len);
close
int close (int fildes);
connect
int connect (int socket, const void
*address, int *address_len);
fcntl
int fcntl (int fildes, int cmd, .../* arg */);
182
X/Open
accept
int accept (int socket, struct sockaddr
*address, size_t *address_len);
bind
int bind (int socket, const struct sockaddr
*address, size_t address_len);
close
int close (int fildes);
connect
int connect (int socket, const struct
sockaddr *address, size_t address_len);
fcntl
int fcntl (int fildes, int cmd, .../* arg */);
Appendix A

Advertisement

Table of Contents
loading

Table of Contents