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()".
 
Back
Top