United States    
COMPAQ
Compaq C

Compaq C
Run-Time Library Reference Manual for OpenVMS Systems


Previous Contents Index

Appendix A
Appendix A Compaq C Socket Routine Reference
     A.1     Porting Considerations
         A.1.1         Calling an IPC Routine from an AST State
         A.1.2         Calling from KERNEL or EXEC Modes
         A.1.3         Event Flags
         A.1.4         Suppressing Compaq C Compilation Warnings
         A.1.5         Header Files
     A.2     Compaq C Structures
     A.3     Internet Protocols
         A.3.1         Transmission Control Protocol
         A.3.2         User Datagram Protocol
     A.4     errno Values
     A.5     h_errno Values
     A.6     Relationship Between errno and h_errno
     A.7     TCP/IP Interface Enhancements
     A.8     Summary of Socket Routines
         A.8.1         Basic Communication Routines
         A.8.2         Auxiliary Communication Routines
         A.8.3         h_errno Support Routines
         A.8.4         Communication Support Routines
    Command 466     accept
    Command 467     bind
    Command 468     close
    Command 469     connect
    Command 470     decc$get_sdc
    Command 471     endhostent
    Command 472     endnetent
    Command 473     endprotoent
    Command 474     endservent
    Command 475     gethostaddr
    Command 476     gethostbyaddr
    Command 477     gethostbyname
    Command 478     gethostent
    Command 479     gethostname
    Command 480     getnetbyaddr
    Command 481     getnetbyname
    Command 482     getnetent
    Command 483     getpeername
    Command 484     getprotobyname
    Command 485     getprotobynumber
    Command 486     getprotoent
    Command 487     getservbyname
    Command 488     getservbyport
    Command 489     getservent
    Command 490     getsockname
    Command 491     getsockopt
    Command 492     herror
    Command 493     hstrerror
    Command 494     hostalias
    Command 495     htonl
    Command 496     htons
    Command 497     inet_addr
    Command 498     inet_lnaof
    Command 499     inet_makeaddr
    Command 500     inet_netof
    Command 501     inet_network
    Command 502     inet_ntoa
    Command 503     ioctl
    Command 504     listen
    Command 505     ntohl
    Command 506     ntohs
    Command 507     read
    Command 508     recv
    Command 509     recvfrom
    Command 510     recvmsg
    Command 511     select
    Command 512     send
    Command 513     sendmsg
    Command 514     sendto
    Command 515     sethostent
    Command 516     setnetent
    Command 517     setprotoent
    Command 518     setservent
    Command 519     setsockopt
    Command 520     shutdown
    Command 521     socket
    Command 522     decc$socket_fd
    Command 523     vaxc$get_sdc
    Command 524     write
     A.9     Programming Examples
Appendix B
Appendix B Version-Dependency Tables
     B.1     Functions Available on all OpenVMS VAX and OpenVMS Alpha Versions
     B.2     Functions Available on OpenVMS Version 6.2 and Higher
     B.3     Functions Available on OpenVMS Version 7.0 and Higher
     B.4     Functions Available on OpenVMS Alpha Version 7.0 and Higher
     B.5     Functions Available on OpenVMS Version 7.2 and Higher
     B.6     Functions Available on OpenVMS Version 7.3 and Higher
Appendix C
Appendix C Prototypes Duplicated to Non-Standard Headers
Index
Index
Examples
1-1 Differences Between Stream Mode and Record Mode
2-1 Output of the Conversion Specifications
2-2 Using the Standard I/O Functions
2-3 Using Wide Character I/O Functions
2-4 I/O Using File Descriptors and Pointers
3-1 Character-Classification Functions
3-2 Converting Double Values to an ASCII String
3-3 Changing Characters to and from Uppercase Letters
3-4 Concatenating Two Strings
3-5 Four Arguments to the strcspn Function
3-6 Using the <stdarg.h > Functions and Definitions
4-1 Suspending and Resuming Programs
5-1 Creating the Child Process
5-2 Passing Arguments to the Child Process
5-3 Checking the Status of Child Processes
5-4 Communicating Through a Pipe
6-1 A Curses Program
6-2 Manipulating Windows
6-3 Refreshing the Terminal Screen
6-4 Curses Predefined Variables
6-5 The Cursor Movement Functions
6-6 stdscr and Occluding Windows
7-1 Calculating and Verifying a Tangent Value
8-1 Allocating and Deallocating Memory for Structures
9-1 Accessing the User Name
9-2 Accessing Terminal Information
9-3 Manipulating the Default Directory
9-4 Printing the Date and Time
A-1 TCP/IP Server
A-2 TCP/IP Client
A-3 UDP/IP Server
A-4 UDP/IP Client


Previous Next Contents Index
  

1.800.AT.COMPAQ

privacy and legal statement