HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 182
Quick Reference Table
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 182 highlights
BSD Sockets Quick Reference Table Quick Reference Table Table A-1 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. Comparison of HP-UX and X/Open Sockets HP-UX X/Open 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 */); 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 */); 182 Appendix A