 |
» |
|
|
|
A- accept
- domain stream sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets, Setting the Server Up to Wait for Connection Requests, Sending and Receiving Data
- Internet
stream sockets, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Setting Up the Server to Wait for Connection Requests, Sending and Receiving Data
- nonblocking
I/O, Nonblocking I/O
- pending
connections, Pending Connections
- summary
table, BSD Sockets System Calls
- address
conversion call, Example Using Internet Stream Sockets
- addressing domain, Declaring Socket Address Variables, Declaring Socket Address Variables, Declaring Socket Address Variables
- AF_INET, Key Terms and Concepts, Using Internet Stream Sockets, Declaring Socket Address Variables
- AF_UNIX, Key Terms and Concepts, Overview
- Asynchronous
- examples, Sending and Receiving Data Asynchronously
- sockets, Sending and Receiving Data Asynchronously
B- bcmp, Definition of Library Equivalents
- bcopy, Definition of Library Equivalents
- bind
- datagram
sockets, Overview, Binding Socket Addresses to Datagram Sockets
- domain
datagram sockets, Exchanging Data Between UNIX Domain Datagram Sockets
- domain stream sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets
- example
usage, Network Daemon Server Listening at Port 2000
- Internet
stream sockets, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Exchanging Data Between Internet Datagram Sockets
- summary
table, BSD Sockets System Calls
- blocking
mode, Nonblocking I/O
- broadcast address, Using Broadcast Addresses
- bzero, Definition of Library Equivalents
C- Client-server
model, The Client-Server Model
- close
- domain
stream sockets, Closing a Socket
- Internet
datagram sockets, Closing a Socket
- Internet
stream sockets, Closing a Socket
- summary
table, Other BSD Sockets System Calls
- with
shutdown, Shutdown
- with
SO_LINGER option, Using Shutdown
- connect
- domain
stream sockets, Requesting a Connection
- Internet
stream sockets, Requesting a Connection
- SO_REUSEADDR, SO_REUSEADDR
- specifying
default socket address, Specifying a Default Socket Address
- summary
table, BSD Sockets System Calls
G- getcwd, Definition of Library Equivalents
- gethostbyaddr, Accepting a Connection, Library Calls
- gethostbyent, Library Calls
- gethostbyname, Getting the Remote Host's Network Address, Library Calls
- gethostent, Getting the Remote Host's Internet Address, Getting the Remote Host's Network Address
- getnetbyaddr, Library Calls
- getnetbyent, Library Calls
- getnetbyname, Library Calls
- getpeerbyname, BSD Sockets System Calls
- getprotobyent, Library Calls
- getprotobyname, Creating a Socket, Creating a Socket, Creating Sockets, Library Calls
- getprotobynumber, Library Calls
- getservbyent, Library Calls
- getservbyname, When to Get the Server's Socket Address, Getting the Port Address for the Desired Service, Library Calls
- getservbyport, Library Calls
- getservent, When to Get Server's Socket Address
- getsockbyname, BSD Sockets System Calls
- getsockname, Example Using Internet Stream Sockets
- getsockopt, Getting and Setting Socket Options, BSD Sockets System Calls
- getwd, Definition of Library Equivalents
I- index, Definition of Library Equivalents
- inet, Declaring Socket Address Variables
- inet_addr, Library Calls
- inet_lnaof, Library Calls
- inet_makeaddr, Library Calls
- inet_netof, Library Calls
- inet_network, Library Calls
- inetd, Adding a Server Process to the Internet Daemon
- Internet
- address
family, Key Terms and Concepts
- sockets, Using Internet Stream Sockets
- Internet
address, Key Terms and Concepts
- Internet
daemon, Adding a Server Process to the Internet Daemon
- Interprocess
Communication
- accepting
a connection, Accepting a Connection, Accepting a Connection
- adding server process to the Internet
daemon, Adding a Server Process to the Internet Daemon
- address
conversion, Address Conversion Functions for DEC VAX Hosts
- address conversion call, Example Using Internet Stream Sockets
- address family, Key Terms and Concepts, Declaring Socket Address Variables, Declaring Socket Address Variables
- addressing, Key Terms and Concepts
- addressing domain, Declaring Socket Address Variables, Declaring Socket Address Variables, Declaring Socket Address Variables
- AF_INET, Declaring Socket Address Variables
- association, Key Terms and Concepts
- binding, Key Terms and Concepts
- binding a socket address to server
processs", Binding a Socket Address to the Server Process's Socket, Binding a Socket Address to the Server Process's Socket
- binding a socket to UNIX domain
datagram sockets, Binding Socket Addresses to UNIX Domain Datagram Sockets
- binding
socket addresses to datagram sockets, Binding Socket Addresses to Datagram Sockets
- BSD IPC, Portability Issues, Porting Issues for Other Functions and Library Calls Typically Used by IPC, Library Equivalencies, Signal Calls
- BSD IPC connections, Overview, Overview
- BSD IPC system calls, Summary Tables for System and Library Calls
- BSD
IPC using datagram sockets, Overview
- channel, Key Terms and Concepts
- client, The Client-Server Model
- client-server
model, The Client-Server Model
- closing a socket, Closing a Socket, Closing a Socket, Closing a Socket, Closing a Socket
- communication domain, Key Terms and Concepts
- Creating a Socket, Creating a Socket
- creating a socket, Creating a Socket, Creating a Socket, Creating a Socket
- creating sockets, Creating Sockets
- datagram
sockets, Key Terms and Concepts, Overview
- declaring
socket address variables, Preparing Address Variables, Declaring Socket Address Variables, Preparing Address Variables
- example using stream sockets, Example Using Internet Stream Sockets
- examples using datagram sockets, Example Using Datagram Sockets
- FIONREAD, FIONREAD Return Values
- FIOSBNIO, Nonblocking I/O
- Flag Options, Flag Options
- flag options, Flag Options, Flag Options
- getting and setting socket options, Getting and Setting Socket Options
- getting the port address for the
desired server, Getting the Port Address for the Desired Service
- getting the remote hostsInternetaddress", Getting the Remote Host's Internet Address
- getting the remote hostsnetworkaddress", Getting the Remote Host's Network Address
- graceful close, Example Using Internet Stream Sockets
- I/O
multiplexing with select, Synchronous I/O Multiplexing with Select
- INADDR_ANY, Using a Wildcard Local Address
- incoming
connection requests, BSD Sockets System Calls
- Internet address, Key Terms and Concepts, Preparing Address Variables, Overview
- ioctl, FIONREAD Return Values, Ioctl and Fcntl Calls
- library
calls, Summary Tables for System and Library Calls, Portability Issues, Porting Issues for IPC Functions and Library Calls, Library Equivalencies
- library
equivalencies, Library Equivalencies
- library routines, BSD Sockets Library Routines
- LINGER
options, Closing a Socket
- listensbacklogparameter", Listen's Backlog Parameter
- message, Key Terms and Concepts
- MSG_OOB, Receiving Data, Sending and Receiving Out-of-band Data
- MSG_PEEK, Receiving Data, Flag Options, Specifying a Default Socket Address
- nonblocking
I/O, Requesting a Connection, Nonblocking I/O
- nondestructive
read, Flag Options
- other system calls, Other BSD Sockets System Calls
- out
of band data, Flag Options
- out-of-band data, Sending and Receiving Out-of-band Data
- packet, Key Terms and Concepts
- pathname, Preparing Address Variables
- peer, Key Terms and Concepts
- pending
connections, Pending Connections
- port, Key Terms and Concepts
- port address, Preparing Address Variables, Preparing Address Variables
- portability
issues, Portability Issues
- preparing
address variables, Preparing Address Variables, Preparing Address Variables, Preparing Address Variables
- preview an incoming message, Flag Options
- preview
incoming data, Flag Options
- programming hints, Troubleshooting
- protocols, Key Terms and Concepts
- pty
location, Pty Location
- Receiving
Data, Receiving Data
- receiving
data, Receiving Data
- receiving messages, Receiving Messages, Receiving Messages
- requesting
a connection, Requesting a Connection, Requesting a Connection
- sending
and receiving data, Sending and Receiving Data, Sending and Receiving Data
- sending
and receiving messages, Sending and Receiving Messages, Sending and Receiving Messages
- sending
and receiving out-of-band data, Sending and Receiving Out-of-band Data
- sending
data, Sending Data, Sending Data
- sending messages, Sending Messages
- server, The Client-Server Model
- setting the server up to wait
for connection, Setting Up the Server to Wait for Connection Requests, Setting the Server Up to Wait for Connection Requests
- signal
calls, Signal Calls
- SIOCATMARK, Sending and Receiving Out-of-band Data
- SO_DONTROUTE, SO_DONTROUTE
- SO_KEEPALIVE, SO_KEEPALIVE
- SO_LINGER, SO_LINGER, Using Shutdown
- SO_RCVBUF, SO_RCVBUF
- SO_REUSEADDR, SO_REUSEADDR
- SO_SNDBUF, SO_SNDBUF
- sockaddr, Declaring Socket Address Variables, Declaring Socket Address Variables, Declaring Socket Address Variables
- sockaddr_in, Declaring Socket Address Variables, Declaring Socket Address Variables, Declaring Socket Address Variables
- socket address, Key Terms and Concepts, Preparing Address Variables, Preparing Address Variables
- socket descriptor, Key Terms and Concepts, Creating a Socket, Creating a Socket
- specifying a default socket address, Specifying a Default Socket Address
- sprintf
return value, Sprintf Return Value
- stream
sockets, Key Terms and Concepts
- summary tables for system and
library calls, Summary Tables for System and Library Calls
- TCP, Key Terms and Concepts
- troubleshooting, Troubleshooting
- UDP, Key Terms and Concepts
- using a wildcard local address, Using a Wildcard Local Address, Using a Wildcard Local Address
- using broadcast addresses, Using Broadcast Addresses
- using diagnostic utilities as
troubleshooting, Using Diagnostic Utilities as Troubleshooting Tools
- using read/write to make stream
sockets transparent, Using Read and Write to Make Stream Sockets Transparent
- using shutdown, Using Shutdown
- wildcard addressing, Preparing Address Variables, Using a Wildcard Local Address, Using a Wildcard Local Address
- writing
the client process, Writing the Client Process, Writing the Client Process
- writing the server and client
processes, Writing the Server and Client Processes
- writing
the server process, Writing the Server Process, Writing the Server Process
- Interprocess
communication
- addressing domain, Declaring Socket Address Variables
- BSD IPC connections, Introduction
- creating a socket, Creating Sockets
- declaring
socket address variables, Preparing Address Variables
- pathname, Preparing Address Variables
- preparing
address variables, Preparing Address Variables
- sockaddr_un, Declaring Socket Address Variables
- ioctl, Nonblocking I/O, Nonblocking I/O, Other BSD Sockets System Calls
- IP multicasting, Sending and Receiving IP Multicast Datagrams
- IP_ADD_MEMBERSHIP, Joining a Multicast Group IP_ADD_MEMBERSHIP
- IP_DROP_MEMBERSHIP, Leaving a Multicast Group IP_DROP_MEMBERSHIP
- IP_MAX_MEMBERSHIPS, Receiving IP Multicast Datagrams
- IP_MULTICAST_IF, Specifying the Outbound Interface IP_MULTICAST_IF
- IP_MULTICAST_LOOP, Disabling Loopback IP_MULTICAST_LOOP
- IP_MULTICAST_TTL, Specifying the Scope of a Multicast IP_MULTICAST_TTL
- IPC connections, Introduction, Overview, Creating a Socket, Overview, Creating a Socket
L- library
calls, Portability Issues, Porting Issues for IPC Functions and Library Calls, Library Equivalencies
- listen
- backlog
parameter, Listen's Backlog Parameter
- domain
stream sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets, Setting the Server Up to Wait for Connection Requests
- Internet
stream sockets, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Setting Up the Server to Wait for Connection Requests, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets
- summary
table, BSD Sockets System Calls
N- netstat, Using Diagnostic Utilities as Troubleshooting Tools
- Network
event logging, Using Diagnostic Utilities as Troubleshooting Tools
- Network
tracing, Using Diagnostic Utilities as Troubleshooting Tools
- nftdaemon, Troubleshooting
- nonblocking I/O, Requesting a Connection, Nonblocking I/O, Nonblocking I/O
- ntohs, Example Using Internet Stream Sockets
- ntonl, Address Conversion Functions for DEC VAX Hosts
- ntons, Address Conversion Functions for DEC VAX Hosts
P- packet, Key Terms and Concepts
- pathname, Binding a Socket Address to the Server Process's Socket, Binding Socket Addresses to UNIX Domain Datagram Sockets
- peer, Key Terms and Concepts
- perror, Troubleshooting
- ping, Using Diagnostic Utilities as Troubleshooting Tools
- port, Key Terms and Concepts
- port
address, Preparing Address Variables, Getting the Port Address for the Desired Service, Binding a Socket Address to the Server Process's Socket, Preparing Address Variables, Binding Socket Addresses to Datagram Sockets
- pty, Pty Location
R- read, Nonblocking I/O
- domain
stream sockets, Sending and Receiving Data
- in
nonblocking I/O, Nonblocking I/O
- Internet
datagram sockets, Receiving Messages
- Internet
stream sockets, Sending and Receiving Data
- nonblocking
I/O, Specifying a Default Socket Address
- summary
table, Other BSD Sockets System Calls
- using
file descriptors, Key Terms and Concepts
- receiving IP multicast
datagrams, Receiving IP Multicast Datagrams
- recv
- FIONREAD
return values, FIONREAD Return Values
- Internet
datagram sockets, Receiving Messages
- nonblocking
I/O, Nonblocking I/O, Nonblocking I/O
- specifying
default socket address, Specifying a Default Socket Address
- summary
table, BSD Sockets System Calls, Other BSD Sockets System Calls
- recvfrom
- domain
datagram sockets, Exchanging Data Between UNIX Domain Datagram Sockets
- domain
stream sockets, Sending and Receiving Data
- Internet
datagram sockets, Overview, Binding Socket Addresses to Datagram Sockets, Receiving Messages
- Internet stream sockets, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Sending and Receiving Data, Exchanging Data Between Internet Datagram Sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets
- nonblocking
I/O, Nonblocking I/O, Nonblocking I/O
- specifying
default socket address, Specifying a Default Socket Address
- summary
table, BSD Sockets System Calls, Other BSD Sockets System Calls
- rindex, Definition of Library Equivalents
S- select, Setting Up the Server to Wait for Connection Requests, Setting the Server Up to Wait for Connection Requests, Other BSD Sockets System Calls
- send, Nonblocking I/O
- domain
stream sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets, Exchanging Data Between UNIX Domain Datagram Sockets
- Internet
datagram sockets, Sending Messages
- Internet
stream sockets, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Sending and Receiving Data, Exchanging Data Between Internet Datagram Sockets, Sending and Receiving Data
- nonblocking
I/O, Nonblocking I/O, Specifying a Default Socket Address
- summary
table, BSD Sockets System Calls
- sending IP multicast
datagrams, Sending IP Multicast Datagrams
- sendto
- domain datagram sockets, Exchanging Data Between UNIX Domain Datagram Sockets, Sending Messages
- Internet
datagram sockets, Overview, Sending Messages
- nonblocking
I/O, Nonblocking I/O, Nonblocking I/O
- specifying
default socket address, Specifying a Default Socket Address
- summary
table, BSD Sockets System Calls
- sethostent, Library Calls
- setnetent, Library Calls
- setprotoent, Library Calls
- setservent, Library Calls
- setsockopt, Getting and Setting Socket Options, New Connection Established, Daemon Server Still Listening, BSD Sockets System Calls
- sharing a multicast
port, Sharing a Multicast Port SO_REUSEPORT
- shutdown, Example Using Internet Stream Sockets, Using Shutdown, BSD Sockets System Calls, Shutdown
- SIGCHLD, Signal Calls
- SIGCLD, Signal Calls
- SIGIO, Sending and Receiving Data Asynchronously, Sending and Receiving Data Asynchronously
- signal, Sending and Receiving Out-of-band Data, Signal Calls
- sigvector, Signal Calls
- SO_BROADCAST, Socket Options
- SO_DEBUG, Socket Options
- SO_DONTROUTE, Socket Options, SO_DONTROUTE
- SO_ERROR, Socket Options
- SO_KEEPALIVE, Socket Options, SO_KEEPALIVE
- SO_LINGER, Socket Options, SO_LINGER
- SO_OOBINLINE, Socket Options
- SO_RCVBUF, Socket Options, SO_RCVBUF
- SO_RCVLOWAT, Socket Options
- SO_RCVTIMEO, Socket Options
- SO_REUSEADDR, Socket Options, New Connection Established, Daemon Server Still Listening
- SO_REUSEPORT, Socket Options
- SO_SNDBUF, Socket Options, SO_SNDBUF
- SO_SNDLOWAT, Socket Options
- SO_SNDTIMEO, Socket Options
- SO_TYPE, Socket Options
- SO_USELOOPBACK, Socket Options
- socket, Creating/Terminating BSD Sockets Connections Using Internet Stream Sockets, Exchanging Data Between Internet Datagram Sockets, Creating/Terminating BSD Sockets Connections Using UNIX Domain Stream Sockets, Exchanging Data Between UNIX Domain Datagram Sockets
- domain datagram sockets, Exchanging Data Between UNIX Domain Datagram Sockets
- socket address, Preparing Address Variables
- sockets, Key Terms and Concepts
- sprintf, Sprintf Return Value
- strchr, Definition of Library Equivalents
- stream sockets, BSD Sockets System Calls
- strrchr, Definition of Library Equivalents
- synchronous
- signals, Sending and Receiving Data Asynchronously
- sockets, Sending and Receiving Data Asynchronously
W- wildcard address, Example Using Internet Stream Sockets, Using Broadcast Addresses
- Internet
datagram sockets, Preparing Address Variables, Binding Socket Addresses to Datagram Sockets
- Internet
stream sockets, Preparing Address Variables, Using a Wildcard Local Address
- write
- Internet
datagram sockets, Creating Sockets
- Internet
stream sockets, Sending and Receiving Data, Sending and Receiving Data
- nonblocking
I/O, Nonblocking I/O, Nonblocking I/O
- specifying
default socket address, Specifying a Default Socket Address
- summary
table, Other BSD Sockets System Calls
|