video stream

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • osama hamed via .NET 247

    video stream

    (Type your message here)
    how can i use tcpclient to write video stream on port
    --------------------------------
    From: osama hamed
    how can i use tcpclient to write video stream on port

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>8ndo+XUCUU2 8LsiCFnMhmg==</Id>
  • Dave

    #2
    Re: video stream

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


    --
    Dave Sexton
    dave@www..jwaon line..com
    -----------------------------------------------------------------------
    "osama hamed via .NET 247" <anonymous@dotn et247.com> wrote in message news:%231qGAaQY FHA.4032@tk2msf tngp13.phx.gbl. ..[color=blue]
    > (Type your message here)
    > how can i use tcpclient to write video stream on port
    > --------------------------------
    > From: osama hamed
    > how can i use tcpclient to write video stream on port
    >
    > -----------------------
    > Posted by a user from .NET 247 (http://www.dotnet247.com/)
    >
    > <Id>8ndo+XUCUU2 8LsiCFnMhmg==</Id>[/color]


    Comment

    Working...