As far as I know, yes you will need to make an exit string if you want to indefinitely recieve data. So, unless you have a timeout on the connection the client has to "tell" the server that it is...
Type: Posts; User: KucerakJM
As far as I know, yes you will need to make an exit string if you want to indefinitely recieve data. So, unless you have a timeout on the connection the client has to "tell" the server that it is...
Take a look at your port numbers in the two classes. ;)
Also, you may need to manually kill the process, and definitely take Norm's advice on printStackTrace() it is quite nice.
One last bit, using...
Ok, sorry for the delay in response. There are a few things to look at.
1) You may need to manually close port 8011.
Server Code:
1) You only need to create the variable pout once.
2)...
Is that the entire error message?