how to make server Wait for clients further requests after establishing connection
i am making my own simulation for SMTP server...
i want to know how can i make server wait for clients request..
1. i made connectivity of client with server
2. now i display the GUI for client
client sends variuos messages to Server e.g "signup", "signin" to tell server wat to do...
My server side has statement
msg = (String )oin.readObject();
then server checks the message and performs... BUT client sends messages only when some ActionListeners get activated....