Theoretically, you could probably do that with DataSocket since you can send byte streams through it, but the amount of programming involved would ultimately cost you more than just going with a prepackaged solution like Windows Media Player. To explain what I mean, in CVI 6.0 you can now embed ActiveX controls within your UIRs, including the Windows Media Player ActiveX control. If you were to establish a Microsoft streaming video server at a remote location to serve your videos, you could probably pretty easily have your custom app with the ActiveX control in it connect to this server to view the video. If you don't already have CVI 6.0, you can take a look at Measurement Studio 6.0 in our online catalog at http://www.ni.com/catalog.
As for your question abou
t the TCPServer in a separate thread, yes you can do that. You just have to spawn a new thread and register the server and its callback in that thread.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask