![]() |
Configuring and Managing MPE/iX Internet Services
> Chapter 2 Internet DaemonOverview of inetd |
|||||||||||||||||||||||||
|
Stream ServicesThe Internet daemon starts servers for both stream services and datagram services. For stream services, which use the TCP/IP protocol, inetd listens for connection requests on stream sockets. When it detects such a request, inetd determines which service the socket corresponds to and invokes a server for it. The server then handles incoming data, providing a reliable, full-duplex bytestream service to the requesting node. Once inetd has invoked the server, it returns to listening for other connection requests. Datagram ServicesFor datagram services, which use the UDP/IP protocol, inetd listens for requests on datagram sockets. You can think of a datagram as a connection request and the message all in one package. Unlike the TCP/IP protocol, UDP/IP does not provide any message acknowledgment, flow control or sequencing. It is the simplest possible service with the advantage of low communications overhead. When inetd detects an incoming datagram, it invokes a server for that message. Once a datagram has been delivered, the socket becomes available for another incoming datagram. That is, there is no "connection," simply the delivery and receipt of the datagram. For this reason, datagram service is sometimes referred to as "connectionless" communication. Internal Services Provided by inetdThe Internet daemon provides several internal trivial services which are described here.
inetd FilesThere are four files of importance as shown in Table 2-1 The Internet Daemon Files, for configuring and using inetd. Once you have installed or updated to version C.60.00 or later, of MPE/iX, these files are located in the NET group of the SYS account. Table 2-1 The Internet Daemon Files
|