Skip to content
Snippets Groups Projects
Commit e1797f16 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

Merge origin/master

parents c264f6d3 5963681a
No related branches found
No related tags found
No related merge requests found
...@@ -8,11 +8,16 @@ import java.net.Socket; ...@@ -8,11 +8,16 @@ import java.net.Socket;
import java.util.Scanner; import java.util.Scanner;
/** /**
* * This client attempts to connect to a desired server. If the client is unable
* to connect then it exits the program. Enter 'quit' to the command line at any
* time to exit.
* @author tbavlsik * @author tbavlsik
*/ */
public class BavlsikClient { public class BavlsikClient {
/**
* Localhost address.
*/
public final static String LOCALHOST = "0:0:0:0:0:0:0:1"; //Local host public final static String LOCALHOST = "0:0:0:0:0:0:0:1"; //Local host
/** /**
......
...@@ -11,7 +11,7 @@ import java.util.Scanner; ...@@ -11,7 +11,7 @@ import java.util.Scanner;
/** /**
* This client program establishes a socket connection to the {@link LennonHW2DispatchServer}, * This client program establishes a socket connection to the {@link LennonHW2DispatchServer},
* then plays a random number guessing game. * then plays a random number guessing game.
* No fancy footwork here, it is pretty simple and similar to {@link TcpExample3Client}. * No fancy footwork here, it is pretty simple and similar to {TcpExample3Client}.
* *
* see TcpExample4DispatchServer * see TcpExample4DispatchServer
* see TcpExample4HandlerThread * see TcpExample4HandlerThread
......
...@@ -15,7 +15,7 @@ import java.util.Random; ...@@ -15,7 +15,7 @@ import java.util.Random;
* if the server can't respond to a connection for several seconds. * if the server can't respond to a connection for several seconds.
* </p> * </p>
* <p> * <p>
* Warning: do not run this class! It is created and used automatically by {@link TcpExample4DispatchServer} at run time. * Warning: do not run this class! It is created and used automatically by {@link LennonHW2DispatchServer} at run time.
* </p> * </p>
* *
* see TcpExample4Client * see TcpExample4Client
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment