Skip to content

Commit

Permalink
added charts, changed ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandy W committed Oct 13, 2011
1 parent be019f5 commit f3f6874
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added Charts.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion client/ClientThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void run() {
//creates a new Socket object and names it socket.
//Establishes the socket connection between the client & server
//name of the machine & the port number to which we want to connect
socket = new Socket(hostName, 4000);
socket = new Socket(hostName, 15432);
if (printOutput) {
System.out.print("Establishing connection.");
}
Expand Down
6 changes: 3 additions & 3 deletions server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public static void main(String[] args) {
ArrayList<Thread> list = new ArrayList<Thread>();

try {
// listen for incoming connections on port 4000
ServerSocket socket = new ServerSocket(4000);
System.out.println("Server listening on port 4000");
// listen for incoming connections on port 15432
ServerSocket socket = new ServerSocket(15432);
System.out.println("Server listening on port 15432");

// loop (forever) until program is stopped
while(true) {
Expand Down

0 comments on commit f3f6874

Please sign in to comment.