there's an example in the samples folders (not sure if it's in the download buy too, I got mine installed from the boxed version), search for a folder containing files named echoclient.bb an echoserver.bb (or search for a *.bb that contains the string "copystream"), run echoserver.bb, then run echoclient and enter "localhost". Copystream, as the name suggests, simply copies a stream :). I think it's useful when you want to read a stream, but don't want to "eat" it, which is happening when you simply read it.
|