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
a3bd7503
Commit
a3bd7503
authored
3 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
further guidance on stopping processes
parent
e2ead62e
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/TcpExample3TerminalLog.txt
+46
-44
46 additions, 44 deletions
examples/src/TcpExamples/TcpExample3TerminalLog.txt
with
46 additions
and
44 deletions
examples/src/TcpExamples/TcpExample3TerminalLog.txt
+
46
−
44
View file @
a3bd7503
Invocation instructions:
* run/debug TcpExample3Server.java
* run/debug TcpExample3Client.java
Program responses:
===================================================
run-single:
TcpExample3Server has started...
Server loop 1: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54180 ))
note HostName matches address if host has no DNS name
Server loop 2: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54181 ))
note HostName matches address if host has no DNS name
Server loop 3: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54182 ))
note HostName matches address if host has no DNS name
[etc.]
[kill process to exit]
===================================================
run-single:
TcpExample3Client creating socket...
==================================================
Client loop 1: now we're talking!
The message the server sent was: 'This is response 1 produced by the server.'
TcpExample3Client creating socket...
==================================================
Client loop 2: now we're talking!
The message the server sent was: 'This is response 2 produced by the server.'
TcpExample3Client creating socket...
==================================================
Client loop 3: now we're talking!
The message the server sent was: 'This is response 3 produced by the server.'
TcpExample3Client creating socket...
==================================================
[etc.]
TcpExample3Client exit
You must kill this process to get it to stop, each is in an infinite loop.
If you kill the server, that will kill the client automatically when the
connection drops, because the client software program was written that way.
Invocation instructions:
* run/debug TcpExample3Server.java
* run/debug TcpExample3Client.java
Program responses:
===================================================
run-single:
TcpExample3Server has started...
Server loop 1: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54180 ))
note HostName matches address if host has no DNS name
Server loop 2: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54181 ))
note HostName matches address if host has no DNS name
Server loop 3: TcpExample3Server socket pair showing host name, address, port:
(( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 2317 ), ( 0:0:0:0:0:0:0:1=0:0:0:0:0:0:0:1, 54182 ))
note HostName matches address if host has no DNS name
[etc.]
[kill process to exit]
===================================================
run-single:
TcpExample3Client creating socket...
==================================================
Client loop 1: now we're talking!
The message the server sent was: 'This is response 1 produced by the server.'
TcpExample3Client creating socket...
==================================================
Client loop 2: now we're talking!
The message the server sent was: 'This is response 2 produced by the server.'
TcpExample3Client creating socket...
==================================================
Client loop 3: now we're talking!
The message the server sent was: 'This is response 3 produced by the server.'
TcpExample3Client creating socket...
==================================================
[etc.]
TcpExample3Client exit
You must kill this client process to stop it, each is in an infinite loop.
If first you kill the server process, that will kill the client process
automatically when the connection drops, simply because the client program
is written that way. Killing the client process first does not stop the
server, which will keep the localhost port locked. Go ahead and test this.
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