Chapter 4 |
4
|
Sockets API Reference
|
4.1
|
Summary of Socket Functions
|
4.2
|
Socket API Functions
|
Command 1
|
accept()
|
Command 2
|
bind()
|
Command 3
|
close()
|
Command 4
|
connect()
|
Command 5
|
decc$get_sdc()
|
Command 6
|
decc$socket_fd
|
Command 7
|
endhostent()
|
Command 8
|
endnetent()
|
Command 9
|
endprotoent()
|
Command 10
|
endservent()
|
Command 11
|
freeaddrinfo()
|
Command 12
|
gai_strerror()
|
Command 13
|
getaddrinfo()
|
Command 14
|
gethostaddr
|
Command 15
|
gethostbyaddr()
|
Command 16
|
gethostbyname()
|
Command 17
|
gethostent()
|
Command 18
|
gethostname()
|
Command 19
|
getnameinfo()
|
Command 20
|
getnetbyaddr()
|
Command 21
|
getnetbyname()
|
Command 22
|
getnetent()
|
Command 23
|
getpeername()
|
Command 24
|
getprotobyname()
|
Command 25
|
getprotobynumber()
|
Command 26
|
getprotoent()
|
Command 27
|
getservbyname()
|
Command 28
|
getservbyport()
|
Command 29
|
getservent()
|
Command 30
|
getsockname()
|
Command 31
|
getsockopt()
|
Command 32
|
herror()
|
Command 33
|
hostalias()
|
Command 34
|
hstrerror()
|
Command 35
|
htonl()
|
Command 36
|
htons()
|
Command 37
|
if_freenameindex()
|
Command 38
|
if_indextoname()
|
Command 39
|
if_nameindex()
|
Command 40
|
if_nametoindex()
|
Command 41
|
inet6_opt_append()
|
Command 42
|
inet6_opt_find()
|
Command 43
|
inet6_opt_finish()
|
Command 44
|
inet6_opt_get_val()
|
Command 45
|
inet6_opt_init()
|
Command 46
|
inet6_opt_next()
|
Command 47
|
inet6_opt_set_val()
|
Command 48
|
inet6_rth_add()
|
Command 49
|
inet6_rth_getaddr()
|
Command 50
|
inet6_rth_init()
|
Command 51
|
inet6_rth_reverse()
|
Command 52
|
inet6_rth_segments()
|
Command 53
|
inet6_rth_space()
|
Command 54
|
inet_aton()
|
Command 55
|
inet_lnaof()
|
Command 56
|
inet_makeaddr()
|
Command 57
|
inet_netof()
|
Command 58
|
inet_network()
|
Command 59
|
inet_ntoa()
|
Command 60
|
inet_ntop()
|
Command 61
|
inet_pton()
|
Command 62
|
ioctl()
|
Command 63
|
listen()
|
Command 64
|
ntohl()
|
Command 65
|
ntohs()
|
Command 66
|
poll()
|
Command 67
|
read()
|
Command 68
|
recv()
|
Command 69
|
recvfrom()
|
Command 70
|
recvmsg()
|
Command 71
|
select()
|
Command 72
|
send()
|
Command 73
|
sendmsg()
|
Command 74
|
sendto()
|
Command 75
|
sethostent()
|
Command 76
|
setnetent()
|
Command 77
|
setprotoent()
|
Command 78
|
setservent()
|
Command 79
|
setsockopt()
|
Command 80
|
shutdown()
|
Command 81
|
socket()
|
Command 82
|
socketpair()
|
Command 83
|
write()
|
Chapter 5 |
5
|
Using the $QIO System Service
|
5.1
|
$QIO System Service Variations
|
5.2
|
$QIO Format
|
5.2.1
|
Symbol Definition Files
|
5.3
|
$QIO Functions
|
5.4
|
$QIO Arguments
|
5.4.1
|
$QIO Function-Independent Arguments
|
5.4.2
|
I/O Status Block
|
5.4.3
|
$QIO Function-Dependent Arguments
|
5.5
|
Passing Arguments by Descriptor
|
5.5.1
|
Specifying an Input Parameter List
|
5.5.2
|
Specifying an Output Parameter List
|
5.5.3
|
Specifying a Socket Name
|
5.5.4
|
Specifying a Buffer List
|
Chapter 6 |
6
|
OpenVMS System Services Reference
|
6.1
|
System Service Descriptions
|
Command 84
|
$ASSIGN
|
Command 85
|
$CANCEL
|
Command 86
|
$DASSGN
|
Command 87
|
$QIO
|
6.2
|
Network Pseudodevice Driver I/O Functions
|
Command 88
|
IO$_ACCESS
|
Command 89
|
IO$_ACCESS|IO$M_ACCEPT
|
Command 90
|
IO$_ACPCONTROL
|
Command 91
|
IO$_DEACCESS
|
Command 92
|
IO$_READVBLK
|
Command 93
|
IO$_SENSEMODE/IO$_SENSECHAR
|
Command 94
|
IO$_SETMODE/IO$_SETCHAR
|
Command 95
|
IO$_SETMODE|IO$M_OUTBAND
|
Command 96
|
IO$_SETMODE|IO$M_READATTN
|
Command 97
|
IO$_SETMODE|IO$M_WRTATTN
|
Command 98
|
IO$_WRITEVBLK
|
6.3
|
TELNET Port Driver I/O Function Codes
|
6.3.1
|
Interface Definition
|
6.3.1.1
|
Item List Codes
|
6.3.1.2
|
Characteristic Mask Bits
|
6.3.1.3
|
Protocol Types
|
6.3.1.4
|
Service Types
|
6.3.2
|
Passing Parameters to the TELNET Port Driver
|
Command 99
|
IO$_TTY_PORT|IO$M_TN_STARTUP
|
Command 100
|
IO$_TTY_PORT|IO$M_TN_SHUTDOWN
|
6.3.3
|
Buffered Reading and Writing of Item Lists
|
Command 101
|
IO$_TTY_PORT_BUFIO|IO$M_TN_SENSEMODE
|
Command 102
|
IO$_TTY_PORT_BUFIO|IO$M_TN_SETMODE
|