Projects / Jaim / Comments

Comments for Jaim

25 Jun 2004 11:39 flasponge

JaimConnection intermitent failure
Why does JaimConnection only work about 50% of time:

Here is an excerpt of my code that runs on startup of my standalone socket server...

JaimConnection mConn;

private static String HOST = "toc.oscar.aol.com";

private static int PORT = 9898;

...

mConn = new JaimConnection(HOST, PORT);

mConn.setDebug(true);

mConn.connect();

the connect hangs intermitently...I would say around 50% to 60% of time it fails.....then I can shutdown app...kill all java.exe instances (Win2K OS) ...restart app and the connect succeeds!

What is up with that?...does anyone else go through this.....

jason

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.