RE: [Quickfix-developers] Cannot connect (good port)
Brought to you by:
orenmnero
From: <Sa...@uc...> - 2004-01-07 18:39:56
|
Yes I can telnet to it. Will the system attempt a log in as soon as I run the [qfinit.start()] method? I will keep trying. Sam ------------------------------------------- Are you really really sure the port is good? All that is happening is a connection is being attempted to that address and port using standard socket calls. Are you sure the firewall is open? Can you telnet into the port? --oren "Sa...@uc..." <sa...@uc...> wrote: ...Thanks Oren, regarding my last question ...I'm trying to connect to a testing site - one that I know works. ...Here is my bit of code that does the connecting QuickFix.SessionSettings settings = new SessionSettings( "d:\\QuickFix\\cfg\\SupMon.cfg" ); QFApp app = new QFApp(); // my app implements QuickFix.Application FileStoreFactory storefactory = new FileStoreFactory(settings); FileLogFactory logFactory = new FileLogFactory("d:\\Net Projects\\QuickFix\\FixRouter") ; MessageFactory msgFactory = new DefaultMessageFactory() ; qfinit = new SocketInitiator( app, storefactory, settings, logFactory, msgFactory ); qfinit.start() ; ...Here is my log file... 20040107-17:20:23 : Created session 20040107-17:20:25 : Connecting to 204.123.7.321 on port 52222 20040107-17:21:10 : Connection failed 20040107-17:21:30 : Connecting to 204.123.7.321 on port 52222 20040107-17:22:15 : Connection failed 20040107-17:22:35 : Connecting to 204.123.7.321 on port 52222 20040107-17:23:20 : Connection failed ...I know this port is good. How can I debug this process. The Application Event: [onCreate( SessionID sessionID )] is firing, but nothing else. I must admit I depend heavily on code samples, and I'm struggling with the "tiny bits" provided in the docs. Thanks, Sam ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes |