It goes in the catch block:
catch (IOException e)
{e.printStackTrace();}
Add a counter and send the buffer full when the counter reaches the amount.
Type: Posts; User: Norm
It goes in the catch block:
catch (IOException e)
{e.printStackTrace();}
Add a counter and send the buffer full when the counter reaches the amount.
Here are some tools and ideas I use for debugging client-server code. Execute client and server in one JVM by putting this main() in a testing class and executing it:
public static void...
What does the code do now when it is executed? Please copy the full contents of the consoles and paste it here.