int socket_write( int s, mixed message, void | string address );
This efun is only available if PACKAGE_SOCKETS is compiled in.
socket_write() sends a message on a socket s. If the socket s is of type STREAM or MUD, the socket must already be connected and the address is not specified. If the socket is of type DATAGRAM, the address must be specified. The address is of the form: "127.0.0.1 23".
socket_write() returns:
EESUCCESS on success.
a negative value indicated below on error.
ERRORS - these are in "socket_err.h"
See also: socket_connect , socket_create
Beek @ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere