import java.io.IOException;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.Scanner;

public class NetworkClient {
	
	private static final int PORT = 82;
	
	private static String sentence;
	private static String tempSentence;
	
	private static InetAddress host;
	
	private static Scanner userInput;
	private static Socket clientSocket;
	private static Scanner socketReader;
	
	private static PrintWriter clientOutput;
	
	public static void main(String args[]) throws IOException, UnknownHostException {
		
		//This currently gets the IP of the local host. 
		//Should not get local host, but the actual host, which is on a separate computer.
		host = InetAddress.getLocalHost();
		
		//This sets up the program's ability to read any input that is parsed into it.
		userInput = new Scanner(System.in);
		clientSocket = new Socket(host, PORT);
		socketReader = new Scanner(clientSocket.getInputStream());
		
		//This is to prompt the user to provide an input.
		System.out.println("Enter a sentence : ");
		sentence = userInput.nextLine();
		
		//This parses information from the client to the server.
		clientOutput = new PrintWriter(clientSocket.getOutputStream());
		clientOutput.println(sentence);
		clientOutput.flush();
		
		//This prints out what is parsed back to the client from  the server.
		tempSentence = socketReader.nextLine();
		System.out.println(tempSentence);
		
	}

}

@@ -235,10 +235,13 @@
 T = 
-82
+57216
 ;%0A%09%0A
@@ -332,24 +332,61 @@
 tic 
-Inet
+boolean hasJoined;%0A%09%0A%09private static String ip
 Address
- host
 ;%0A%09%0A
@@ -623,24 +623,60 @@
 eption %7B%0A%09%09%0A
+%09%09ipAddress = %22130.225.198.209%22;%0A%09%09%0A
 %09%09//This cur
@@ -801,16 +801,18 @@
 uter.%0A%09%09
+//
 host = I
@@ -826,22 +826,8 @@
 ess.
-getLocalHost()
 ;%0A%09%09
@@ -974,20 +974,25 @@
  Socket(
-host
+ipAddress
 , PORT);
@@ -1531,13 +1531,17 @@
 e);%0A%09%09%0A%09
-%7D
+%09%0A%09%7D%09
 %0A%0A%7D%0A

Test With Hardcoded IP