Next: , Previous: , Up: The Machine-Interface   [Contents][Index]

20.2 Running poke in MI mode

The following poke command-line options are relevant to the machine-interface.


Run poke in Machine-Interface mode.


Use a network TCP socket to communicate with the client. port is the port to use, or zero. If zero, then poke chooses a port on its own. In both cases, poke prints the port used when it starts.

If not using network sockets, poke starts talking MI immediately using the standard input and standard output:

$ poke --mi

When using sockets, poke prints the number of the socket where it is listening for requests in the standard output:

$ poke --mi --mi-socket=0