DIGITAL TCP/IP Services for OpenVMS
System Services and C Socket Programming


Begin Index

Contents (summary)
Preface Preface
Chapter 1 Sockets Programming Interfaces
Chapter 2 Writing Internet Applications
Chapter 3 Using the $QIO System Service
Chapter 4 OpenVMS System Services Reference
Chapter 5 Using DEC C Socket Routines
Chapter 6 DEC C Socket Routine Reference
Chapter 7 Error Codes
Appendix A Online Program Examples
  Index
  Figures
  Examples
  Tables


Contents


Preface
Preface Preface
Chapter 1
1 Sockets Programming Interfaces
     1.1     OpenVMS System Services
         1.1.1         Using 64-Bit Addresses (Alpha Only)
     1.2     C Socket Interface
     1.3     Location of Application Development Files
Chapter 2
2 Writing Internet Applications
     2.1     The Client/Server Communication Process
     2.2     Creating a Device Socket
         2.2.1         Creating Device Sockets with OpenVMS System Services
         2.2.2         Creating Device Sockets with the C Socket Interface
     2.3     Using the Berkeley Internet Name Domain Service
         2.3.1         BIND Lookups with OpenVMS System Services
         2.3.2         BIND Lookups with the C Socket Interface
     2.4     Binding a Socket
         2.4.1         Binding Sockets with OpenVMS System Services
         2.4.2         Binding Sockets with the C Socket Interface
     2.5     Making a Socket a Listener (TCP Server)
         2.5.1         Listening to a Socket with OpenVMS System Services
         2.5.2         Listening to a Socket with a C Socket Interface
     2.6     Initiating a Connection with a TCP Client
         2.6.1         Initiating a Connection with OpenVMS System Services
         2.6.2         Initiating a Connection with a C Socket Interface
     2.7     Accepting a Connection with a TCP Server
         2.7.1         Accepting a Connection Using OpenVMS System Services
         2.7.2         Accepting a Connection Using a C Socket Interface
     2.8     Obtaining Device Socket Information
         2.8.1         Getting Device Socket Information with OpenVMS System Services
         2.8.2         Getting Device Socket Information with a C Socket Interface
     2.9     Reading Data
         2.9.1         Reading Data with OpenVMS System Services
         2.9.2         Reading Data with a C Socket Interface
     2.10     Receiving IP Multicast Datagrams
     2.11     Reading Out-of-Band Data (TCP)
         2.11.1         Reading OOB Data with OpenVMS System Services
         2.11.2         Reading OOB Data with the C Socket Interface
     2.12     Peeking at Queued Messages
         2.12.1         Peeking at Data with OpenVMS System Services
         2.12.2         Peeking at Data with the C Socket Interface
     2.13     Writing Data
         2.13.1         Writing Data with OpenVMS System Services
         2.13.2         Writing Data with the C Socket Interface
     2.14     Writing OOB Data (TCP)
         2.14.1         Writing OOB Data with OpenVMS System Services
         2.14.2         Writing OOB Data with the C Socket Interface
     2.15     Sending Datagrams (UDP)
         2.15.1         Sending Datagrams with OpenVMS System Services
         2.15.2         Sending Broadcast Datagrams with OpenVMS System Services
         2.15.3         Sending Broadcast Datagrams with the C Socket Interface
         2.15.4         Sending Multicast Datagrams
     2.16     Closing and Deleting a Socket
         2.16.1         Closing and Deleting with OpenVMS System Services
         2.16.2         Closing and Deleting with the C Socket Interface
     2.17     Shutting Down Sockets
         2.17.1         Shutting Down a Socket with OpenVMS System Services
         2.17.2         Shutting Down with a C Socket Interface
     2.18     Canceling I/O Operations
     2.19     Application Development Tools for OpenVMS System Services Programming
         2.19.1         Include Files for OpenVMS System Services Programming
         2.19.2         Data Structures for OpenVMS System Services Programming
         2.19.3         Support Routines for OpenVMS System Services Programming
     2.20     Compiling and Linking Compaq's C Language Programs
         2.20.1         Linking Programs Using BSD Version 4.3
         2.20.2         Compiling and Linking Programs Using BSD Version 4.4
Chapter 3
3 Using the $QIO System Service
     3.1     $QIO System Service Variations
     3.2     $QIO Syntax
         3.2.1         $QIO Function-Dependent Parameters
     3.3     Common $QIO Functions
     3.4     $QIO Arguments
         3.4.1         Device- and Function-Independent $QIO Arguments
         3.4.2         Function-Dependent $QIO Arguments
     3.5     Item Lists and Item List Descriptors
     3.6     Specifying an Input Parameter List
     3.7     Specifying an Output Parameter List
     3.8     Specifying the Socket Name
     3.9     Specifying Socket Options, Protocol Options, and I/O Control Parameters
Chapter 4
4 OpenVMS System Services Reference
     4.1     System Service Descriptions
    Command 1     $ASSIGN
    Command 2     $CANCEL
    Command 3     $DASSGN
    Command 4     $GETDVI
    Command 5     $QIO
     4.2     Internet I/O Function Codes
    Command 6     IO$_ACCESS
    Command 7     IO$_ACPCONTROL
    Command 8     IO$_DEACCESS
    Command 9     IO$_READVBLK
    Command 10     IO$_SENSEMODE/IO$_SENSECHAR
    Command 11     IO$_SETMODE/IO$_SETCHAR
    Command 12     IO$_SETMODE|IO$M_OUTBAND
    Command 13     IO$_SETMODE|IO$M_READATTN
    Command 14     IO$_SETMODE|IO$M_WRTATTN
    Command 15     IO$_WRITEVBLK


Previous Next Contents Index