status.i4.v = tcp_send_wait(tcp_host.i1a.r, tcp_port.i4.v,
				    request.g.v, request_length.i4.v,
				    reply.g.v, reply_length.i4.v,
				    timeout.i4.v [,return_length.i4.r]

	This routine will send a message to the specified host and
	port and will wait for a reply or a timeout.  The program
	should have connected to this host and port by calling

	tcp_host	host name
	tcp_port	port number  
	request		TCP/IP message buffer
	request_length	size of message to be sent 
	reply		returned TCP/IP message buffer
			(must be as large as the value specified
			 for "reply_length")
			(TCP_MAXLEN is maximum message size supported)
	reply_length	maximum number of bytes to be received
	timeout		number of seconds to wait for reply
			(A value of 0 indicates to wait forever.)
	[return_length]	returned size of message actually received in bytes
	[abort_func]	abort callback function which should return a value
			of TRUE if the caller wishes to abort
			(called as: abort_it = abort_func())

	This function returns ACNET status values as follows:

	OK			success
	CBS_INVID		not connected to this host and port
	CBS_GONE		this socket is not longer open
       CBS_TOO_BIG             not all the data was written to the socket
	CBS_REQLIMIT		message clipped to maxlen
	CBS_TIMEOUT		timed out waiting for reply

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	tcp_connect, tcp_send, tcp_receive, tcp_disconnect

	C/C++ usage:

	static const char	tcp_host[] = "centra";
	char	request[REQUEST_LEN];
	char	reply[REPLY_LEN];
	int	status;
	int	tcp_port = 4353;
	int	request_length = REQUEST_LEN;
	int	reply_length = REPLY_LEN;
	int	timeout = TIMEOUT_IN_SECS;
	int	return_length;
	void	message_func(char *host, int port);
	int	abort_func(void);

	status = tcp_connect(tcp_host,tcp_port,message_func);
	status = tcp_send_wait(tcp_host,tcp_port,(void *) request,
			       request_length,(void *) reply,reply_length,