title: Sending a packet in C# via TCP?
body: <p>I'll try and explain my question below, I have tried googling for an answer but firstly, I don't really know what I should be googling and I haven't found anything that makes sense to me, I was wondering if someone could explain it? Many Thanks.</p>
  
  <p>Hello. I am trying to send a simple network packet using TCP, I have done it using UDP pretty easily as its really easy with UDP, I was wondering if anyone could help me do the equivalent in TCP? I tried using a TcpClient, but it doesn't have a Send method the same as UDP?</p>
  
  <pre><code>public void OnUdp()
  {
      var client = new UdpClient(Host, Port);
      client.Send(rubbish, rubbish.Length);
  }
  </code></pre>