|
Contents:
Search: |
xinetd/inetd setupThe basic ideaThe basic idea of xinetd/inetd is that a super-server (xinetd or inetd) is run, which is configured to listen on certain ports. When an incoming request arrives on a given port, the super-server spawns a background process (in this case, the mql(1) program) and connects that program's stdin/stdout to the TCIP/IP stream. Configuring xinetd/inetdThis means that you must configure xinetd/inetd to spawn the mql(1) program with the correct command-line switches, including whether you want XML or console output. In the emdros documentation package, you will find a sample xinetd(8) configuration file, called "xinetd.mql". Please refer to the xinetd(8) documentation for how to set this up. NextNext, we describe how to interface with Emdros using C++. |