Wireshark always captures to file until you stop the capture. If you know what IP and ports the TCP connection is using you could create a capture filter to only capture that communication to file.
If this is not helping you you should probably edit your question to make it more specific. What "stream" do you need to capture and what do you want to accomplish?
answered 26 Mar '13, 19:44