Write socket

From Botnix

write_socket

main::write_socket(id,data)

This call writes text to a socket you previously opened using main::create_socket. The id field must be the id of a created socket, and data can be any text or binary data you wish to send to the connection. The length of the data is calculated for you by the function.