dp_send

Syntax

dp_send chanID string

Comments

dp_send allows direct output onto a channel, bypassing Tcl's I/O layer. It calls the given channel's output method until all of string has been sent.

dp_send returns the amount of data sent.

Examples

dp_send $chan [read $file1024]