Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
Browse through IP range?
25/05/2017, 06:02
Resposta: #1
Browse through IP range?
Hi everyone

I'm trying to write a class that takes a beginning IP and an end IP (say and I basically need a nextIp() method in there that will start at the first ip (the start IP provided in the constructor) and return the next IP every time it's invoked until the end IP is reached. I have tried breaking down the IPs into integers for each octet but this is quickly starting to hurt my brain!

I know there are tons of libraries out there, is there something that exists already that i could use to achieve that goal? My goal is to eventually create an object for each machine it finds that responds to a ping and import them in my DB.


I didn't find the right solution from the Internet.

B2B Marketing Video Example
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta

Ir ao Fórum:

Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS