GithubHelp home page GithubHelp logo

fpb's People

Watchers

James Cloos avatar

fpb's Issues

运行testArp出现IOException异常

Hi, 我是GTR。
我们在开发一个能联网胡自动售货机,准备用FPB进行协议测��
�,但在运行您的testArp 范例
时,出现了如下异常:
IOException: send error: PacketSendPacket failed

经实验发现,所有需要askMac的地方都有相同的问题。
我的系统:
xp sp2 + Winpcap-3.1 + jdk1.6

我怀疑这可能同我的系统有点关系,但GOOGLE了一下找不到原��
�:)
好消息是testHttpGet能正常工作,另外该问题也不影响我们使用
FPB。

如下是当时的一些打印:
--------------- do testArp ---------------
0:42  EtherProtocol.EtherProtocol 
0:6     dstAddress            FF:FF:FF:FF:FF:FF 
6:6     srcAddress            00:12:F0:34:57:5A 
12:2    etherType             2054 ARP
14:28   payload               
14:28     arp                 ArpProtocol.ArpProtocol
14:28 ArpProtocol.ArpProtocol 
14:2    hwType                6 IEEE 802 Networks
16:2    protocolType          2048 IPv4
18:1    hlen                  6 MAC
19:1    plen                  4 IPv4
20:2    operation             1 Arp Request
22:6    senderHwAddress       '0012F034575A'O 
28:4    senderProtocolAddress 'C0A80166'O 
32:6    targetHwAddress       '000000000000'O 
38:4    targetProtocolAddress 'C0A80101'O 
42:0    fcs                   omit 
Exception in thread "main" java.io.IOException: send error: 
PacketSendPacket failed
    at com.fineqt.fpb.lib.comm.pcap.PcapSocketImpl.write(Unknown 
Source)
    at com.fineqt.fpb.lib.comm.pcap.PcapSocketImpl.write(Unknown 
Source)
    at com.fineqt.fpb.protocol.sample.ArpApp.askMac(ArpApp.java:107)
    at com.fineqt.fpb.protocol.sample.SampleMain.testArp
(SampleMain.java:66)
    at com.fineqt.fpb.protocol.sample.SampleMain.main
(SampleMain.java:44)

Original issue reported on code.google.com by [email protected] on 9 May 2010 at 8:41

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.