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
55ac65bc
Commit
55ac65bc
authored
9 months ago
by
owner
Browse files
Options
Downloads
Plain Diff
Merge origin/master
parents
c177a1bb
b74047f7
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/Williams/README.md
+12
-0
12 additions, 0 deletions
...V3500Cohort2024JulySeptember/homework2/Williams/README.md
with
12 additions
and
0 deletions
assignments/src/MV3500Cohort2024JulySeptember/homework2/Williams/README.md
0 → 100644
+
12
−
0
View file @
55ac65bc
## Homework 2:
For this assignment, I utilized the framework classes from the example 4 we disected in class.
The three files—HW2Client, HW2Server, HW2Thread— work together to create a simple client-server application.
The server class is the main server program, listening for incoming client connections on a specified
port 2317. When the client connects, the server runs HW2Thread to handle the communication with that client,
allowing the server to manage multiple clients concurrently. The thread class is responsible for processing the client's
input and sending an appropriate response back, after which it closes the connection. On the client side,
the client class connects to the server, sends a message "Ethan", and receives a response. The client measures
the time taken for the interaction and handles multiple iterations if specified. Overall, the server/client interact
through a series of messages, with the server capable of handling multiple clients simultaneously through threading.
\ No newline at end of file
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