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
5a1d0259
Commit
5a1d0259
authored
9 months ago
by
owner
Browse files
Options
Downloads
Patches
Plain Diff
Homework 2
parent
1b3912a8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
+1
-4
1 addition, 4 deletions
...rt2024JulySeptember/homework2/Lennon/LennonHW2Client.java
with
1 addition
and
4 deletions
assignments/src/MV3500Cohort2024JulySeptember/homework2/Lennon/LennonHW2Client.java
+
1
−
4
View file @
5a1d0259
...
@@ -33,7 +33,6 @@ public class LennonHW2Client
...
@@ -33,7 +33,6 @@ public class LennonHW2Client
// default constructor
// default constructor
}
}
static
String
DESTINATION_HOST
=
"localhost"
;
static
String
DESTINATION_HOST
=
"localhost"
;
static
int
MAX_LOOP_COUNT
=
4
;
/**
/**
* Program invocation, execution starts here
* Program invocation, execution starts here
...
@@ -43,9 +42,7 @@ public class LennonHW2Client
...
@@ -43,9 +42,7 @@ public class LennonHW2Client
try
{
try
{
boolean
play
;
boolean
play
;
Scanner
scanner
=
new
Scanner
(
System
.
in
);
Scanner
scanner
=
new
Scanner
(
System
.
in
);
System
.
out
.
println
(
LennonHW2Client
.
class
.
getName
()
+
" start, loop "
+
MAX_LOOP_COUNT
+
" times"
);
//for (int loopCount = 1; loopCount <= MAX_LOOP_COUNT; loopCount++) // loop then exit
do
{
do
{
System
.
out
.
println
(
"======================================================="
);
System
.
out
.
println
(
"======================================================="
);
System
.
out
.
println
(
LennonHW2Client
.
class
.
getName
()
+
" creating new socket ...\n"
);
System
.
out
.
println
(
LennonHW2Client
.
class
.
getName
()
+
" creating new socket ...\n"
);
...
...
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