United States    
COMPAQ STORE | PRODUCTS |
SERVICES | SUPPORT | CONTACT US | SEARCH
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 461     accept
    Command 462     bind
    Command 463     close
    Command 464     connect
    Command 465     decc$get_sdc
    Command 466     endhostent
    Command 467     endnetent
    Command 468     endprotoent
    Command 469     endservent
    Command 470     gethostaddr
    Command 471     gethostbyaddr
    Command 472     gethostbyname
    Command 473     gethostent
    Command 474     gethostname
    Command 475     getnetbyaddr
    Command 476     getnetbyname
    Command 477     getnetent
    Command 478     getpeername
    Command 479     getprotobyname
    Command 480     getprotobynumber
    Command 481     getprotoent
    Command 482     getservbyname
    Command 483     getservbyport
    Command 484     getservent
    Command 485     getsockname
    Command 486     getsockopt
    Command 487     herror
    Command 488     hstrerror
    Command 489     hostalias
    Command 490     htonl
    Command 491     htons
    Command 492     inet_addr
    Command 493     inet_lnaof
    Command 494     inet_makeaddr
    Command 495     inet_netof
    Command 496     inet_network
    Command 497     inet_ntoa
    Command 498     ioctl
    Command 499     listen
    Command 500     ntohl
    Command 501     ntohs
    Command 502     read
    Command 503     recv
    Command 504     recvfrom
    Command 505     recvmsg
    Command 506     select
    Command 507     send
    Command 508     sendmsg
    Command 509     sendto
    Command 510     sethostent
    Command 511     setnetent
    Command 512     setprotoent
    Command 513     setservent
    Command 514     setsockopt
    Command 515     shutdown
    Command 516     socket
    Command 517     socket_fd
    Command 518     vaxc$get_sdc
    Command 519     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
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
Figures
1-1 Linking with the Compaq C RTL on OpenVMS Alpha Systems
1-2 I/O Interface from C Programs
1-3 Mapping Standard I/O and UNIX I/O to RMS
5-1 Communications Links Between Parent and Child Processes
6-1 An Example of the stdscr Window
6-2 Displaying Windows and Subwindows
6-3 Updating the Terminal Screen
6-4 An Example of the getch Macro
REF-1 Reading and Writing to a Pipe


Previous Next Contents Index
  

1.800.AT.COMPAQ

privacy and legal statement