problem with jpcap : simple packet sniffer program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • haribuvanesh
    New Member
    • Dec 2007
    • 1

    problem with jpcap : simple packet sniffer program

    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)
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    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?

    Comment

    • BigDaddyLH
      Recognized Expert Top Contributor
      • Dec 2007
      • 1216

      #3
      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.

      Comment

      • dmjpro
        Top Contributor
        • Jan 2007
        • 2476

        #4
        Originally posted by haribuvanesh
        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

        Comment

        Working...