MudOSa4DGD/
MudOSa4DGD/bin/
MudOSa4DGD/data/
MudOSa4DGD/doc/
MudOSa4DGD/doc/driver/
MudOSa4DGD/doc/efun/bitstrings/
MudOSa4DGD/doc/efun/command/
MudOSa4DGD/doc/efun/communication/
MudOSa4DGD/doc/efun/heart_beat/
MudOSa4DGD/doc/efun/interactive/
MudOSa4DGD/doc/efun/inventory/
MudOSa4DGD/doc/efun/living/
MudOSa4DGD/doc/efun/mappings/
MudOSa4DGD/doc/efun/strings/
MudOSa4DGD/doc/efun/uid/
MudOSa4DGD/doc/funs/
MudOSa4DGD/doc/language/
MudOSa4DGD/mudlib/dgd/doc/
MudOSa4DGD/mudlib/dgd/lib/include/dgd/
MudOSa4DGD/mudlib/dgd/lib/std/
MudOSa4DGD/mudlib/dgd/lib/sys/
MudOSa4DGD/mudlib/dgd/log/
MudOSa4DGD/mudlib/log/
MudOSa4DGD/mudlib/std/include/
MudOSa4DGD/mudlib/std/obj/
NAME
	send_message - send a message to a user

SYNOPSIS
	int send_message(string message)
	int send_message(int echo)


DESCRIPTION
	In the first form, send a message to the user associated with the
	current object.  In the second form, user input echoing will be
	turned off or on, the value of echo being zero or non-zero,
	respectively.  Used by the driver object, send_message() will write
	the message on stderr.
	For binary connections, send_message() will return the length of the
	string if it could be sent right away, a number indicating how much of
	the string could be sent immediately, or -1 otherwise.  If only part of
	the string could be sent initially, message_done() will be called in
	the user object when the remainder has also been sent.  If
	send_message() is used to send new data before all of the pending data
	from a previous call has been sent, the pending data is discarded.
	For telnet connections, send_message() will always return the length
	of the string sent.

SEE ALSO
	kfun/query_ip_number, kfun/this_user, kfun/users