[ Home | What's New | Contents | Overview | Contributors | Distribution | Examples | Documentation | Manual | Publications | Mailing List Archive | Problems ] This page was last updated by Axel Belinfante on 2004-09-21
TorX Test Tool Information
Prev   Next

tmcs(1) - tcp multicast service

Table of Contents


tmcs - tcp multicast service


tmcs [ -i ] [ -p portnr ]


tmcs implements a simple tcp multicasting service. It is used by torx(1) to keep multiple viewers (that visualize the test run) synchronized.

tmcs opens a socket at port portnr, if given, or the first free one. If this succeeds, it prints on standard output a line of the form

ipaddr hostname localportnr
where localportnr is the number of the opened port. Both ipaddr and hostname may have the value After this it waits for connections that are made to the socket, and for messages that arrive over these connections. Each message (usually: line of text) received over one connection is forwarded over all other connections. tmcs will exit when its last connection is closed. Initially it has no connections, so in order to make it exit (without explicitly killing it) at least one connection must be made to it.

When invoked with the -i flag, it will start a command interpreter. Otherwise, invoke it as for example

var=`tmcs|head -1`
to get the port number of tmcs in var.


The following commands can be given on the standard input of tmcs, when it was invoked with the -i command line option. The command keyword (printed in capitals in this section) is recognized regardless of case (uppercase, lowercase, mixed).
prints a list of partners (connections) on standard output
prints line containing the local address to standard output (as done after startup)
sets debugging level. Debug level 0 disables debugging, for the other modes, see the source.
prints an overview of accepted commands on standard output

See Also

torx-intro(1), torx-logclient(1), tcp(1), torx(1), kill(1)


By Email: <torx_support@cs.utwente.nl>


This manual page documents version 3.9.0 of torx.

Table of Contents

Prev Table of Contents Next
Appendix D: TorX Manual Pages: tcp(1) - tcp connection program Valid HTML 4.01! Appendix D: TorX Manual Pages: torx-hostname(1) - print hostname taken from network database