B
BrainC
I am working on a multi-threaded server-socket application. I already
have lots of crazy loops which are needed in order to function
properly.
What I need to add is a function that once all the people logged-on
exited, the server would be ready to accept connections again.
IS THERE A COMMAND THAT WOULD BREAK THROUGH THE CLASS AND EXIT IT
ANYWHERE TO GO BACK TO THE CLASS, WHICH CALLED IT (IN MY CASE BACK TO
MAIN).
I tried Label:
continue Label;
but I really do have messy loops that won't let this work properly.
I also thought maybe "System.exit(1);" would work, but that terminates
the whole application.
Any suggestions would be very appreciated.
Little BrainC
have lots of crazy loops which are needed in order to function
properly.
What I need to add is a function that once all the people logged-on
exited, the server would be ready to accept connections again.
IS THERE A COMMAND THAT WOULD BREAK THROUGH THE CLASS AND EXIT IT
ANYWHERE TO GO BACK TO THE CLASS, WHICH CALLED IT (IN MY CASE BACK TO
MAIN).
I tried Label:
continue Label;
but I really do have messy loops that won't let this work properly.
I also thought maybe "System.exit(1);" would work, but that terminates
the whole application.
Any suggestions would be very appreciated.
Little BrainC