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

Previous | Contents

## Index

### A

- accept() socket routine
  - arguments
  - description
  - error values
  - format
  - how to use
  - return values
- ACP
  - type code
    - $GETDVI
- ACP operation
  - See IO$_ACPCONTROL
- Active socket
- Address families
  - IO$M_OUTBAND
  - IO$_SETCHAR
  - IO$_SETMODE
  - IO$_SETMODE function
- Addressing
  - wildcard
- Alias names
  - format of
  - list of
- Application calling sequence
  - TCP client
  - TCP server
  - UDP client
  - UDP server
- Arguments
  - $ASSIGN #1
  - $ASSIGN #2
  - AST address
  - AST argument
  - astadr
  - astprm
  - $CANCEL #1
  - $CANCEL #2
  - chan
  - channel number
  - device and function-independent
  - efn
  - events flag number
  - func
  - function-independent parameters
  - $GETDVI #1
  - $GETDVI #2
  - $GETDVI #3
  - $GETDVIW #1
  - $GETDVIW #2
  - gethostbyaddr()
  - gethostbyname()
  - I/O status block
  - IO$M_OUTBAND
  - IO$M_READATTN
  - IO$M_WRTATTN
  - IO$_ACCESS function
  - IO$_READVBLK
  - IO$_SETCHAR #1
  - IO$_SETCHAR #2
  - IO$_SETMODE #1
  - IO$_SETMODE #2
  - IO$_WRITEVBLK #1
  - IO$_WRITEVBLK #2
  - iosb #1
  - iosb #2
  - iosb #3
  - $QIO
  - $QIO device- and function-independent
  - $QIO device-dependent
  - $QIO function-dependent
  - $QIO item_list_2 descriptor
  - $QIO item_list_3 descriptor
  - $QIO system service #1
  - $QIO system service #2
  - $QIOW
  - $SYNCH service
- $ASSIGN
  - access modes
  - arguments #1
  - arguments #2
  - C programming example
  - channel
  - condition values
  - description
  - I/O channel service
  - MACRO-32 example
- Assigning a channel
  - to the Internet pseudodevice
- AST routine
  - $QIO service #1
  - $QIO service #2
- AST state
  - calling a C Socket routine
- Asynchronous queue request
- Asynchronous service completion
- Asynchronous system trap

### B

- Berkeley Internet Name Domain resolver
  - see BIND
- BIND
  - lookup
    - using C Socket routine
    - using $QIO system service
  - resolver
    - accessing
    - service
    - used with IO$_ACPCONTROL
  - service
    - using
- bind() socket routine
- BLOCKALL flags
  - See specific socket routine
- Broadcast messages
  - on a local network
  - sending
- Broadcast options
- Broadcasting on a local network
  - See Broadcast messages
- Buffers
  - limits
    - with $ASSIGN
  - lists
    - descriptor fields
  - multiple
  - operations

### C

- C Socket interface
  - benefits
  - initiating a connection
- $CANCEL
  - access modes
  - arguments #1
  - arguments #2
  - canceling I/O operations
  - condition values #1
  - condition values #2
  - description
  - routine
- Cancel operation
- Channels
  - assigning to the Internet pseudodevice
  - assigning to UCX$DEVICE:
  - cancel pending I/O requests
  - deassigning
    - See $DASSGN
- Checksums
  - disable
  - options
- Close a connection
  - IO$_DEACCESS
- close() socket routine
  - description
  - example
- Colons
  - in device name strings
- Commands
  - FIONREAD
    - to display number of bytes in socket receive queue
  - IOCTL
  - LINK
  - SET PROTOCOL UDP
    - /BROADCAST qualifier
    - to disable privilege checking
  - SHOW DEVICE_SOCKET
  - SIOCATMARK
  - UCX SHOW DEVICE_SOCKET
  - UCX START COMMUNICATION
- Compiling with DEC C
- Condition values
  - $GETDVI #1
  - $GETDVI #2
  - IO$M_OUTBAND
  - IO$_ACPCONTROL
  - IO$_SENSECHAR
  - IO$_SENSEMODE
  - IO$_SETCHAR
  - IO$_SETMODE #1
  - IO$_SETMODE #2
  - IO$_WRITEVBLK
  - $QIO service
- connect() socket routine
  - description
- Connection
  - accepting a request
    - with C Socket routine
    - with $QIO system service
  - close
  - disconnect
  - establishing a pseudo connection
  - initiating
  - sending a request
  - shutdown #1
  - shutdown #2
- Connection-oriented protocols
- Connectionless protocols
- Counters
  - display READ operations

### D

- $DASSGN
  - arguments #1
  - arguments #2
  - C programming example
  - condition values #1
  - condition values #2
  - deleting an internet device
  - description
  - MACRO-32 example
  - releasing an I/O channel
  - timeout intervals
- Data streams
  - reading out-of-band data
- Datagrams
  - broadcasting #1
  - broadcasting #2
  - options
  - sending #1
  - sending #2
  - TTL
- Deassign an I/O channel
- DEC C
  - compiling programs
  - linking programs
- decc$get_sdc()
  - description
- Definition file examples
  - ADA
  - BLISS
  - C
  - FORTRAN
  - MACRO
  - Pascal
  - PL/I
- Descriptor fields
  - p6
- Device
  - drivers
    - applying restrictions
  - name
    - assign a channel
    - use of colons
  - primary characteristics #1
  - primary characteristics #2
  - secondary characteristics #1
  - secondary characteristics #2
  - types
    - $GETDVI
    - online
    - primary
    - secondary
    - template
  - unit status
    - symbolic names #1
    - symbolic names #2
- Device socket
  - creating
    - with OpenVMS system services
  - creating with C Socket
  - deleting
  - obtaining information
- Driver
  - start
- DVI$M_SECONDARY

### E

- Enable Write Attention AST function
  - See IO$M_WRTATTN
- errno values #1
- errno values #2
- Error codes
  - $QIOs
  - sockets
- Errors
  - during read/write operations
  - notification
  - socket status
- Event flags
  - use of in C Socket routines
- Examples
  - accept() routine
    - C Socket
  - ADA
  - $ASSIGN
    - C programming
    - MACRO-32
  - BIND lookup
    - OpenVMS system service
  - binding a socket
  - BLISS
  - $CANCEL
    - C programming
    - MACRO-32
  - close and delete function
  - close() routine
  - connection request
    - C Socket
  - creating a device socket
  - $DASSGN
    - C programming
    - MACRO-32
  - getpeername()
  - getsockname()
  - IO$_ACPCONTROL
    - C programming
    - MACRO-32
  - IO$_READVBLK
    - C programming
    - MACRO-32
    - OpenVMS system service
  - IO$_WRITEVBLK
    - C programming #1
    - C programming #2
    - MACRO-32
  - listen codes
    - C Socket
    - OpenVMS
  - location of
    - definition files
    - programming examples
  - online programs
    - location of
    - TCP/IP server accepting a connection from the auxiliary server
    - TCP/IP server using QIO calls
    - TCP/IP server using the C Socket interface
    - UDP/IP server using C Socket interface
  - OpenVMS
    - connection accept
    - connection request
  - OpenVMS auxiliary server
  - Pascal
  - PL/I
  - routine libraries
  - socket() routine
  - specifying socket options
  - UCX$EXAMPLES:
- EXEC mode
  - calling socket routines from

Previous | Next | Contents