![]() |
Sending Ping Requests I am trying to send a few ping requests and want to handle the pong replies. What is the best way to go about it? I tried extending StandardMessageRouter class and overriding handlePingRequestForMe method. I initialized the required classes like acceptor FileManager, Authenticator .... etc in a main method but got the following exception: java.lang.NullPointerException at com.sun.java.util.collections.Arrays.sort(Arrays.j ava:1102) at com.limegroup.gnutella.FileManager.loadSettingsBlo cking(FileManager.j ava:472) at com.limegroup.gnutella.FileManager$1.run(FileManag er.java:416) java.io.IOException at com.limegroup.gnutella.util.SocketOpener.connect(S ockets.java:183) at com.limegroup.gnutella.util.Sockets.connect(Socket s.java:105) at com.limegroup.gnutella.Connection.initializeWithou tRetry(Connection.j ava:253) at com.limegroup.gnutella.Connection.initialize(Conne ction.java:213) at com.limegroup.gnutella.ManagedConnection.initializ e(ManagedConnection .java:349) at com.limegroup.gnutella.ConnectionManager.initializ eExternallyGenerate dConnection(ConnectionManager.java:1225) at com.limegroup.gnutella.ConnectionManager.createCon nectionBlocking(Con nectionManager.java:173) at myStart.main(myStart.java:29) ****************************************** Thanks in advance for any help Sriram |
All times are GMT -7. The time now is 06:03 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.