[ 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

Name

tmcs - tcp multicast service

Synopsis

tmcs [ -i ] [ -p portnr ]

Description

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 0.0.0.0. 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.

Commands

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).
PARTNERS
prints a list of partners (connections) on standard output
ADDRESS
prints line containing the local address to standard output (as done after startup)
DEBUGLVL [nr]
sets debugging level. Debug level 0 disables debugging, for the other modes, see the source.
HELP
prints an overview of accepted commands on standard output

See Also

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

Contact

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

Version

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