473,473 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem with jpcap : simple packet sniffer program

1 New Member
Im working with a packet sniffer program and i get following exception on compilation. Plz help me out....

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method loopPacket(int, PacketReceiver) in the type JpcapCaptor is not applicable for the arguments (int, JpcapTip)
Dec 24 '07 #1
3 3643
sicarie
4,677 Recognized Expert Moderator Specialist
Cool, that's an error.

The message tells you that your types don't match, but I'm not sure what you want from us - that's like waking to an auto shop, leaving your car at home and saying, "My car won't start, what do I do to fix it." I have no idea - where's the code that threw this exception?
Dec 24 '07 #2
BigDaddyLH
1,216 Recognized Expert Top Contributor
That error sounds like two modules aren't interfacing correctly -- perhaps one of your jar files is not the right version. Or you've just managed to tickle some error in the workings of the application. This is a general Java forum and you'd do better if you can get some help for that specific program. If you bought it, there must be some support that comes with it. And in any case, there maybe a listing of known bugs or a mailing list or forum at the website of the company that created it.
Dec 25 '07 #3
dmjpro
2,476 Top Contributor
Im working with a packet sniffer program and i get following exception on compilation. Plz help me out....

Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method loopPacket(int, PacketReceiver) in the type JpcapCaptor is not applicable for the arguments (int, JpcapTip)
Send the method "loopPacket" code and where you call this method ...
Please send me those relevant code.

Debasis Jana
Dec 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Gerard van Wilgen | last post by:
I have a client-application that uses a socket to post some data to a server-application. The following piece of code in the client takes care of the posting: $sock =...
0
by: Damien Legrand | last post by:
i use jpcap classe for captured packet but i don't arrive to save the packets in a file with the method jpcapwriter... i dont know java. help me ! thanks. class jpcapwriter doc : ...
38
by: jrlen balane | last post by:
basically what the code does is transmit data to a hardware and then receive data that the hardware will transmit. import serial import string import time from struct import * ser =...
1
by: Satinderpal Singh | last post by:
Hi everyone, We are using HttpWebRequest to create a request to a URI, which requires us to login first. In order to process all the transactions, first we have to login and get the cookie value...
0
by: Angel J. Hernández M | last post by:
Hi folks! I'm having a little problem and I'm a bit confused about it. See... I'm working on this VoIP project (I need to use make direct calls to Windows API). I started working using C# but since...
1
by: Satinderpal Singh | last post by:
Hi everyone, We are using HttpWebRequest to create a request to a URI, which requires us to login first. In order to process all the transactions, first we have to login and get the cookie value...
2
by: missolsr | last post by:
hi, I am using jpcap to capture OLSR topology control (udp) packets. Does anyone know how to extract data (the way ethereal does it) from the olsr packet? There are methods to extract data...
3
by: nexus024 | last post by:
I am trying to write a program that will continuously sniff eth0 for a specific UDP packet thats being sent to a specific destination IP, alter the data of the packet, and finally transmit it to the...
1
by: jm.carp | last post by:
I'm writing a tcp client that grabs data from a server at 32hz. But the connection drops exactly one minute after it's opened. I can get data from the server fine for the first 60s, and then the...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.