Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
ace31ef8
Commit
ace31ef8
authored
4 years ago
by
brutzman
Browse files
Options
Downloads
Patches
Plain Diff
javadoc edits
parent
fcc5bbae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assignments/src/MV3500Cohort2020JulySeptember/homework1/BrutzmanRefactorTcpExample1Telnet.java
+5
-2
5 additions, 2 deletions
...eptember/homework1/BrutzmanRefactorTcpExample1Telnet.java
with
5 additions
and
2 deletions
assignments/src/MV3500Cohort2020JulySeptember/homework1/BrutzmanRefactorTcpExample1Telnet.java
+
5
−
2
View file @
ace31ef8
package
MV3500Cohort2020JulySeptember.homework1
;
package
MV3500Cohort2020JulySeptember.homework1
;
// TODO note that package statement must match parent directory directory structure
import
MV3500Cohort2019JulySeptember.homework1.*
;
import
java.io.*
;
import
java.net.*
;
/**
* The simplest possible TCP network program. It listens for
* Th
is example is th
e simplest possible TCP network program. It listens for
* a connection, from telnet (telnet localhost 2317) or a program
* you write, which we will do later. Right now the TcpExample simply
* writes a string in response to a connection.
...
...
@@ -32,6 +33,8 @@ import java.net.*;
*/
public
class
BrutzmanRefactorTcpExample1Telnet
{
/** When you run this program, the main method is invoked.
* @param args command-line arguments */
public
static
void
main
(
String
[]
args
)
{
try
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment