title: need tuple not str for port scanner
body: <p>ok so basically ive decided to try and build a basic port scanner. heres my code:</p>
  
  <p>(theres more above this, but felt itd be far too much to paste in here)</p>
  
  <pre><code>##Print port menu
  print "-"*60
  print "Specify ports"
  print "-"*60
  print """
  1)Use default list
  2)Specify your own port list\n"""
  print"-"*60
  menu2=raw_input("Please choose an option\n")
  ##Define default port list
  default_list="21, 22,23, 24, 25, 80, 110, 135, 139, 443, 445, 553, 3306, 3389, 8080"
  
  ##Set port list to default if option "1" is chosen
  if menu2 == "1":
      port_list='default_list'
  
  ##Request user port list if option "2" is chosen
  if menu2 == "2":
      port_list=raw_input("Please enter the ports you would like scanned.\neg. 22, 23\n")
  
  print "Ok, here we go"
  
  for i in str(port_list):
      connection = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  
      results = connection.connect_ex(ip + i)
  </code></pre>
  
  <p>Which looks alright to me, but when i run it i recieve an error "AF_INET address must be tuple, not str"  I'm not sure which part is the issue? is it my default port string thats throwing the error? or is it a problem in my ip address formatting?? ive tried a few of my devices ip addresses and always get the same error.</p>