def socket_infos():
host = None  <EOL>port = portend.find_available_local_port()<EOL>family = socket.AF_UNSPEC<EOL>socktype = socket.SOCK_STREAM<EOL>proto = <NUM_LIT:0><EOL>flags = socket.AI_PASSIVE<EOL>return socket.getaddrinfo(host, port, family, socktype, proto, flags)<EOL>
Generate addr infos for connections to localhost