Ask your instructor about additional setup requirements.
Tasks
In the ListeningThread inner class, add code to open a server-side socket connection and an input stream, receive pushed data, and display data to the user. TIP: Most code needs to be added in the run method.
In the ListeningThread inner class, add a stop method to close the network connection.
In the FilePush constructor, add code to start the listening thread.
In the onExit method, add code to stop the listening thread.
In the updateText method, add code to display the text that has been received.