def SocketClient(address):
 family = address_type(address)
 with socket.socket(getattr(socket, family)) as s:
  s.setblocking(True)
  s.connect(address)
  return Connection(s.detach())

def SocketClient ( address ) : family = address_type ( address ) with socket . socket ( getattr ( socket , family ) ) as s : s . setblocking ( True ) s . connect ( address ) return Connection ( s . detach ( ) )
return a connection object connected to the socket given by address .