[ewg] Java use SDP problem

zhang Jackie jackieict at gmail.com
Tue Feb 27 19:00:11 PST 2007


Hi,guys!
    I am trying to use netperf to measure the bandwidth of SDP. First, I
modprobe libsdp and addd LD_PRELOAD=libsdp.so before the application,such as
"LD_PRELOAD=libsdp.so netserver" and "LD_PRELOAD=libsdp.so netperf  -H
10.5.0.171", all this work and I get the right results.
   But When I use my Java Application to test, such exceptions are reported:
java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:266)
        at cn.ac.ict.hla.jperf.ControlConnection.MakeControlConnection(
ControlConnection.java:52)
        at cn.ac.ict.hla.jperf.Jnetperf.main(Jnetperf.java:41)
who can tell why this happen? thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20070228/8c88e7ba/attachment.html>


More information about the ewg mailing list