inetd.conf. Upon receiving a connection request, it will start up the server. Therefore the server has no need to set up sockets.
The inetClient is very similar to the simple client, since it must still read and write to a socket. The socket is set up using information gathered by the function getservbyname() which will check for the service inetServer on the host NETdimm. After confirmation of the service is established, the program will create a socket, connect and transfer the file as before. Unlike the simple client, there is no need to designate the connection port since getservbyname() will retrieve this information.
www.amctechcorp.com | 87 |