HPlogo HP 9000 Networking: BSD Sockets Interface Programmer's Guide

Preface

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Glossary

 » Index

This guide describes HP's BSD Sockets. BSD Sockets is a set of programming development tools for interprocess communication. HP's implementation of BSD Sockets is a full set of sockets from the networking services originally developed by the University of California at Berkeley (UCB).

The BSD Sockets Interface Programmer's Guide is the primary reference for programmers who write or maintain BSD Sockets applications on HP 9000 computers. This guide also provides information about BSD Sockets features for node managers who design HP 9000 networks.

This guide is written for intermediate to advanced programmers and assumes that:

  • Your HP 9000 networking is installed and running on your local host.

  • You have all the login names you may be associated with (these may be obtained from your node manager).

  • You have a list of other hosts or nodes your HP 9000 product can communicate with (this list may also be obtained from your node manager).

This guide is organized as follows:

Chapter 1

BSD Sockets Concepts provides an overview of the Client-Server Model.

Chapter 2

Using Internet Stream Sockets describes the steps involved in creating an internet stream socket using the AF_INET address family.

Chapter 3

Advanced Topics for Stream Sockets explains socket options, synchronous I/O multiplexing with select, sending and receiving data asynchronously, nonblocking I/O, using shutdown, using read and write to make stream sockets transparent, and sending and receiving out-of- band data.

Chapter 4

Using Internet Datagram Sockets describes the steps involved in creating an internet datagram socket connection.

Chapter 5

Advanced Topics for Internet Datagram Sockets includes information about default socket address, synchronous I/O multiplexing with select, sending and receiving IP multicast datagrams, and broadcast addresses.

Chapter 6

Using UNIX Domain Stream Sockets describes the steps involved in creating a UNIX Domain stream socket connection between two processes executing on the same node.

Chapter 7

Using UNIX Domain Datagram Sockets describes the steps required to exchange data between AF_UNIX datagram sockets on the same node without establishing a connection.

Chapter 8

Programming Hints contains information about troubleshooting, port addresses, diagnostic utilities, internet daemon, inetd, portability issues, and system and library calls.

Appendix A

BSD Sockets Quick Reference Table summarizes the differences in calls for the two sets of sockets behavior: HP-UX BSD Sockets and X/Open Sockets.

© 1997 Hewlett-Packard Development Company, L.P.