Jump to content
Sign in to follow this  
bikerpower

(ajuda) captura de pacotes - java jpcap

Recommended Posts

bikerpower

Estou a implementar um scanner wi-fi, e para isso vou usar um capturador de pacotes, jpcap.

Já instalei a biblioteca correctamente, pelas instrucoes do site. ( http://netresearch.ics.uci.edu/kfujii/jpcap/doc/install.html )

Mas não consigo obter resultados no primeiro ponto do tutorial que é obter as interfaces disponiveis.

(http://netresearch.ics.uci.edu/kfujii/jpcap/doc/tutorial/index.html) -> onde diz "Obtain the list of network interfaces"

Aquilo que fiz para testar foi simplesmente copiar o código do tutorial e colar no metodo main criado pelo netbeans.

Não consegui quaisquer resultados.

Estou a usar um MacBook Pro 17" de 2009 - Snow Leopard - Netbeans 6.7.1

Desde já agradecido.

Tiago Duque

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.