HP OpenVMS Systems Documentation
VMS DECwindows Transport Manual
Previous
Contents
Index
Chapter 7
7
Transport Support Macros
Command 42
XPORT_IN_NOTIFY_SET
Command 43
XPORT_IN_NOTIFY_CLEAR
Command 44
XPORT_IN_NOTIFY_WAIT
Command 45
XPORT_IN_NOTIFY_SEND
Command 46
XPORT_OUT_NOTIFY_SET
Command 47
XPORT_OUT_NOTIFY_CLEAR
Command 48
XPORT_OUT_NOTIFY_WAIT
Command 49
XPORT_OUT_NOTIFY_SEND
Command 50
XPORT_XTCB_FILLED
Command 51
XPORT_XTCB_TOTAL
Command 52
XPORT_XTCB_FREE
Command 53
XPORT_WRITE_WAIT
Command 54
XPORT_WRITE_UNWAIT
Command 55
XPORT_ABORT_SEND
Command 56
XPORT_OUT_WRITE_ENABLE
Command 57
XPORT_OUT_WRITE_DISABLE
Command 58
XPORT_OUT_STATE_SRP
Command 59
XPORT_OUT_STATE_LRP
Command 60
XPORT_IN_STATE_SRP
Command 61
XPORT_IN_STATE_LRP
Command 62
XPORT_IN_FREE_ENABLE
Command 63
XPORT_IN_FREE_DISABLE
Command 64
VALIDATE_XTCC
Command 65
VALIDATE_USERW
Command 66
VALIDATE_USER
Chapter 8
8
Writing Your Own Transport
8.1
Where to Begin
8.2
Example TCP/IP Transport Layer Implementation
8.2.1
TCP/IP Transport Layer Setup
8.2.2
Sample XTFT$A_EXECUTE_WRITE Routine
8.2.3
Sample XTFT$A_WRITE Routine
8.2.4
Sample WRITE_AST Routine
8.2.5
Sample XTFT$A_WRITE_USER Routine
8.2.6
Sample XTFT$A_EXECUTE_FREE Routine
8.2.7
Sample XTFT$A_FREE_INPUT_BUFFER Routine
8.2.8
Sample FREE_INPUT_AST Routine
8.2.9
Sample PARSE_INTERNET_ADDRESS Routine
8.2.10
Sample XTFT$A_CLOSE Routine
8.2.11
Sample CLOSE_AND_DEALLOCATE_AST Routine
8.2.12
Sample XTFT$A_OPEN Routine
8.2.13
Sample OPEN_AST1 Routine
8.2.14
Sample OPEN_AST2 Routine
8.2.15
Sample OPEN_AST3 Routine
8.2.16
Sample XTFT$A_ATTACH_TRANSPORT Routine
8.2.17
Sample TRANSPORT_READ_QUEUE Routine
8.2.18
Sample TRANSPORT_READ_AST Routine
8.2.19
Sample TRANSPORT_OPEN_CALLBACK Routine
8.2.20
Sample DETACH_AND_POLL Routine
8.2.21
Sample REATTACH_AST Routine
8.2.22
Sample XTFT$A_RUNDOWN Routine
8.2.23
Sample DECW$TRANSPORT_INIT Routine
8.3
Compiling and Linking Options for the Transport
8.3.1
Installing the Transport-Specific Shareable Image
8.3.2
Installing the Example Transport Shareable Image
Index
Index
Examples
8-1
TCP/IP Transport Layer Setup
8-2
Sample XTFT$A_EXECUTE_WRITE Routine
8-3
Sample XTFT$A_WRITE Routine
8-4
Sample WRITE_AST Routine
8-5
Sample XTFT$A_WRITE_USER Routine
8-6
Sample XTFT$A_EXECUTE_FREE Routine
8-7
Sample XTFT$A_FREE_INPUT_BUFFER Routine
8-8
Sample FREE_INPUT_AST Routine
8-9
Sample PARSE_INTERNET_ADDRESS
8-10
Sample XTFT$A_CLOSE Routine
8-11
Sample CLOSE_AND_DEALLOCATE_AST Routine
8-12
Sample DECW$$TCPIP_OPEN Routine
8-13
Sample OPEN_AST1 Routine
8-14
Sample OPEN_AST2 Routine
8-15
Sample OPEN_AST3 Routine
8-16
Sample XTFT$A_ATTACH_TRANSPORT Routine
8-17
Sample TRANSPORT_READ_QUEUE Routine
8-18
Sample TRANSPORT_READ_AST Routine
8-19
Sample TRANSPORT_OPEN_CALLBACK Routine
8-20
Sample DETACH_AND_POLL Routine
8-21
Sample REATTACH_AST Routine
8-22
Sample XTFT$A_RUNDOWN Routine
8-23
Sample DECW$TRANSPORT_INIT Routine
8-24
DEMO_BUILD.COM Procedure
Figures
1-1
Remote Transport Connection
1-2
Local Transport Connection
2-1
Protocol Request Format
2-2
Output Buffer Containing a Protocol Request
3-1
Transport Layer Communication Queues
3-2
Client/Server Communication Queue Views
3-3
Transport Common/Specific Connection
3-4
Transport Common/Specific Queues
3-5
Transport Attach Data Structures
3-6
Transport Connection Open Data Structures
3-7
Transport Connection Open XTCB Data Structures
3-8
Transport Data Structures
3-9
XTPB Data Structure
3-10
IXTCC Data Structure
3-11
XTCC Data Structure
3-12
XTCB Data Structure
3-13
XTCQ Data Structure
3-14
XTDB Data Structure
3-15
XTFT Data Structure
Tables
3-1
Transport Layer Communication Queues
3-2
Views for the Client/Server Communication Queue
3-3
Communication Queue Notification Flags
3-4
Transport Layer Data Structures
3-5
XTPB Data Structure
3-6
XTPB Default Values
3-7
IXTCC Data Structure
3-8
XTCC Data Structure
3-9
XTCB Data Structure
3-10
XTCQ Data Structure
3-11
XTDB Data Structure
3-12
XTFT Data Structure
3-13
Transport Memory Allocation Routines
3-14
Transport Read Routines
3-15
Common Transport Write Routines
3-16
Transport-Specific Write Routines
3-17
Transport-Specific Read Routines
3-18
Transport-Specific Connection Close Routines
5-1
Transport-Common Routines
6-1
Transport-Specific Routines
7-1
Transport Support Macros
Previous
Next
Contents
Index