title: What's the return value of Socket.accept() in python
body: <p>I made a simple server and a simple client with <code>socket</code> module in python.</p>
  <p>server:</p>
  <pre><code># server.py
  import socket
  
  s = socket.socket()
  host = socket.gethostname()
  port = 1234
  s.bind((host, port))
  
  s.listen(5)
  
  while True:
      c, addr = s.accept()
      print('Got connection from', addr)
      c.send(b'Thank you for your connecting')
      c.close()
  </code></pre>
  <p>and client:</p>
  <pre><code>#client.py
  import socket
  
  s = socket.socket()
  
  host = socket.gethostname()
  port = 1234
  
  s.connect((host, port))
  print(s.recv(1024))
  </code></pre>
  <p>I started the server and then started 4 clients and got output in server's console as below:</p>
  <pre class="lang-none prettyprint-override"><code>Got connection from ('192.168.0.99', 49170)
  Got connection from ('192.168.0.99', 49171)
  Got connection from ('192.168.0.99', 49172)
  Got connection from ('192.168.0.99', 49173)
  </code></pre>
  <p>what is the second part in the tuple?</p>