title: Sending different data forms/types through TCP in python
body: <pre class="lang-py prettyprint-override"><code>import socket
  s = socket.socket()
  
  port = 12345
  
  s.connect((&quot;127.0.0.1, port))
  
  a = &quot;Hii&quot;
  
  b = 25
  
  c = b'\xAA\xEE'
  
  s.send(a,b,c)
  
  s.close()
  </code></pre>
  <p>Question 1. Is there a way that I can send all three a,b,c at the same time, rather than sending 3 times.</p>
  <p>Question 2. If all 3 are in bytes then, is there a way I can concatenate them and send?</p>