Documentation Home
> Transport Interfaces Programming Guide
Transport Interfaces Programming Guide
Book Information
Preface
Chapter 1 Introduction to Network Programming Interfaces
The Client-Server Model
Network Services in the Solaris Environment
Layered Protocols
Open Systems Interconnection (OSI) Reference Model
OSI Reference Model Description
Layer 1: Physical Layer
Layer 2: Data-Link Layer
Layer 3: Network Layer
Layer 4: Transport Layer
Layer 5: Session Layer
Layer 6: Presentation Layer
Layer 7: Application Layer
TCP/IP Internet Protocol Suite
TCP/IP Protocol Stack
TCP/IP Protocol Stack Description
Device Drivers
Internet Protocol (IP) Layer
Transport Layer
Application Layer
Connection Oriented and Connectionless Protocols
Connection-Oriented Protocols
Connectionless Protocols
Choosing Between COTS and CLTS
Chapter 2 Programming With Sockets
Sockets are Multithread Safe
SunOS Binary Compatibility
What Are Sockets?
Socket Libraries
Socket Types
Socket Tutorial
Socket Creation
Binding Local Names
Connection Establishment
Connection Errors
Data Transfer
Closing Sockets
Connecting Stream Sockets
Datagram Sockets
Input/Output Multiplexing
Standard Routines
Host Names
Network Names
Protocol Names
Service Names
Other Routines
Client-Server Programs
Servers
Clients
Connectionless Servers
Advanced Topics
Out-of-Band Data
Nonblocking Sockets
Asynchronous Sockets
Interrupt-Driven Socket I/O
Signals and Process Group ID
Selecting Specific Protocols
Address Binding
Broadcasting and Determining Network Configuration
Zero Copy and Chechsum Offload
Socket Options
inetd Daemon
Chapter 3 Programming with XTI and TLI
XTI/TLI Is Multithread Safe
XTI/TLI Is not Asynchronous Safe
What Is XTI and TLI?
Connectionless Mode
Connectionless Mode Routines
Connectionless Mode Service
Endpoint Initiation
Data Transfer
Datagram Errors
Connection Mode
Connection Mode Routines
Connection Mode Service
Endpoint Initiation
Client
Server
Connection Establishment
Client
Event Handling
Server
Data Transfer
Client
Server
Connection Release
Server
Client
Read/Write Interface
Write
Read
Close
Advanced Topics
Asynchronous Execution Mode
Advanced Programming Example
State Transitions
XTI/TLI States
Outgoing Events
Incoming Events
Transport User Actions
State Tables
Guidelines to Protocol Independence
XTI/TLI Versus Socket Interfaces
Socket-to-XTI/TLI Equivalents
Chapter 4 Transport Selection and Name-to-Address Mapping
Transport Selection Is Multithread Safe
Transport Selection
How Transport Selection Works
/etc/netconfig File
NETPATH Environment Variable
NETPATH Access to netconfig Data
Accessing netconfig
Loop Through all Visible netconfig Entries
Looping Through User-Defined netconfig Entries
Name-to-Address Mapping
straddr.so Library
Using the Name-to-Address Mapping Routines
Portability From Previous Releases
Glossary
Index
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
X
Z
© 2010, Oracle Corporation and/or its affiliates