Quote:
Originally posted by Mrs Kensington
Actually one thing i just thought of.
That shouldn't matter though as your sockets initialised in start() not init(). But if it manages to get to start before stop has finished then it wouldn't be able to open the socket and would throw an exception.
Thanks for the response. The problem was basically what you describe. The "stop" on the listener applet had not completed before the "init" was running on the second applet. I opted instead to always start listening in the listener applet (s new thread from the start method) and that seemed to cure the problem.