sendto -
Send a message from a cep
package require ceptcl sendto channelId host port data
This command sends a message to another cep or socket using an already open cep. Usually used for datagram and raw ceps. The data sent does not pass through the Tcl channel system. No translation or encoding is performed regardless of the fconfigure settings of the cep. The data is sent exactly as presented to the sendto command. Any required transformations on the data must be performed prior to sending. If no errors are encountered when attemtimg to send the message, sendto returns the number of bytes sent.
cep(n), fconfigure(n), flush(n), open(n), read(n), socket(n)
icmp(4), ip(4), ip6(4), socket(2), tcp(4), udp(4), etc, and a bunch of RFCs.
bind, channel, connection, domain name, host, network address, socket, tcp, udp