video stream

  • Thread starter Thread starter osama hamed via .NET 247
  • Start date Start date
O

osama hamed via .NET 247

(Type your message here)
how can i use tcpclient to write video stream on port
 
TcpClient provides you with a NetworkStream that is able to send/receive data over a TCP/IP port. The NetworkStream is just like
MemoryStream and FileStream in that they are simply a collection of bytes.

Load your video using a BinaryReader or FileStream and then fill the NetworkStream with the bytes you've read. To get the
NetworkStream for a TcpClient instance, call "GetStream()".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top