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
73ab31d3
Commit
73ab31d3
authored
9 months ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
explanatory comment
parent
4c23c820
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
examples/src/TcpExamples/TcpExample4Client.java
+4
-2
4 additions, 2 deletions
examples/src/TcpExamples/TcpExample4Client.java
with
4 additions
and
2 deletions
examples/src/TcpExamples/TcpExample4Client.java
+
4
−
2
View file @
73ab31d3
...
...
@@ -51,8 +51,10 @@ public class TcpExample4Client
// line after 10 sec.
long
startTime
=
System
.
currentTimeMillis
();
// open a socket for each loop
Socket
socket
=
new
Socket
(
DESTINATION_HOST
,
2317
);
// Open a socket for each loop
Socket
socket
=
new
Socket
(
DESTINATION_HOST
,
2317
);
// Note our local port on this client host is not specified - because
// that doesn't matter. It is an "ephemeral" port on localhost.
// Setup. Read the single line written by the server.
// We'd do things a bit differently if many lines to be read
...
...
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