english
version "1.0"
identify "xyz"

# Copyright (c) 1998 by Wayne C. Gramlich.
# All rights reserved.
#
# Permission to use, copy, modify, distribute, and sell this software
# for any purpose is hereby granted without fee provided that the above
# copyright notice and this permission are retained.  The author makes
# no representations about the suitability of this software for any purpose.
# It is provided "as is" without express or implied warranty.

module tcp_monitor_test

#: This module monitors the traffic between a client and a server
#, communicating via a TCP stream.

define options
    record
	debug logical			#: {true}=>debug mode on
	listen_port string		#: Port to listen on
	listen_port_number unsigned	#: Converted listen port number
	output_file string		#: Output file name string
	queue_length string		#: Lenght of queue
	queue_length_number unsigned	#: Converted queue length
	server_host_name string		#: Server host name
	server_port string		#: Server port number
	server_port_number unsigned	#: Converted server port number
    generate allocate, erase, print



procedure main
    takes
	system system
    returns unsigned

    #: This procedure will monitor some TCP connections between multiple
    #, clients of one server.