Neil said:
Thomas Jollans wrote:
It sometimes suggests that your program is recursing infinitely. Can you
post any code which demonstrates the problem?
part of static main(String[]) code:
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
for(;
{
String cmd = r.readLine();
if(cmd.equals("quit"))
{
l.stop();
System.exit(0);
}
try
{
p.sendInt(java.net.InetAddress.getByName(args[3]),
78010, Integer.decode(cmd).intValue(), true);
}
catch(NumberFormatException nfe)
{
}
}
p and l are objects of self-written classes.
p.sendInt calls another function, which in turn calls another(in l),
which constructs a socket and passes it thru to p which uses it. I don't
think there's any hidden recursion in there?
thomas