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
f22e740d
Commit
f22e740d
authored
5 years ago
by
brutzman
Browse files
Options
Downloads
Patches
Plain Diff
update example and terminal log
parent
594f76bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CourseExamples/src/TcpExamples/TcpExample1Telnet.java
+2
-2
2 additions, 2 deletions
CourseExamples/src/TcpExamples/TcpExample1Telnet.java
CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt
+3
-3
3 additions, 3 deletions
CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt
with
5 additions
and
5 deletions
CourseExamples/src/TcpExamples/TcpExample1Telnet.java
+
2
−
2
View file @
f22e740d
...
...
@@ -35,8 +35,8 @@ public class TcpExample1Telnet
{
try
{
System
.
out
.
println
(
"TcpExample1Telnet has started and is waiting for a connection
:
"
);
System
.
out
.
println
(
"
E
nter (telnet localhost 2317) or (nc localhost 2317)..."
);
System
.
out
.
println
(
"TcpExample1Telnet has started and is waiting for a connection
.
"
);
System
.
out
.
println
(
"
e
nter (telnet localhost 2317) or (nc localhost 2317)..."
);
// The ServerSocket waits for a connection from a client.
// It returns a Socket object when the connection occurs.
...
...
This diff is collapsed.
Click to expand it.
CourseExamples/src/TcpExamples/TcpExample1TerminalLog.txt
+
3
−
3
View file @
f22e740d
...
...
@@ -7,11 +7,11 @@ Program responses:
===================================================
run:
TcpExample1Telnet has started and is waiting for a connection
:
E
nter (telnet localhost 2317) or (nc localhost 2317)...
TcpExample1Telnet has started and is waiting for a connection
.
e
nter (telnet localhost 2317) or (nc localhost 2317)...
This server response was written by server TcpExample1.
TcpExample1 completed successfully.
BUILD SUCCESSFUL (total time:
5
seconds)
BUILD SUCCESSFUL (total time:
16
seconds)
===================================================
netcat window:
...
...
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