Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.35 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. streaming video over LAN C#
  2. public static TcpClient SocketCLiente = new TcpClient();
  3. NetworkStream _serverStream = default(NetworkStream);
  4. public static string IPServer="127.0.0.1";
  5.  
  6. byte[] outStream = System.Text.Encoding.ASCII.GetBytes(this._txtUserName.Text + "%" + this.txtPassword.Text + "$");
  7. _serverStream.Write(outStream, 0, outStream.Length);