Syntax
dp_copy ?-size amount? srcChanId destChanId ?destChanId2 ...?
Comments
dp_copy allows bulk copying of information from one channel to another. Notice that there can be more than one destination channel (allowing for N-way copying). The size of the copy can be specificied but it defaults to 4096 bytes. If the amount requested is larger than the amount available in the source channel, dp_copy may return less than the amount requested or block, depending on the configuration of the source channel.
Note that dp_copy goes through the Tcl I/O layer, unlike dp_send and dp_recv.