Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chapters/io/ipc/drills/tasks/client-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Navigate to `client-server` directory of the extracted archive (or `chapters/io/ipc/drills/tasks/client-server/` if you are working directly in the repository) and run `make` to generate the `support` directory.
This exercise will guide you in creating a basic messaging protocol between a server and a client.
Although in real-world applications a server typically handles multiple connections at once, here we focus on a single connection.
Handling multiple connections is further explored in [I/O multiplexing](../../../../io-multiplexing/reading/io-multiplexing.md).
Handling multiple connections is further explored in [I/O multiplexing](../../../../optimizations/reading/io-multiplexing.md).

Our application protocol is defined as follows:

Expand All @@ -14,7 +14,7 @@ Our application protocol is defined as follows:
- The communication ends when either the **client** or the **server** sends the message `exit`.

Since we are blocking on `recv()`, the message order is fixed - the client **must** initiate communication.
In real-world applications, this constraint can be avoided with [I/O multiplexing](../../../../io-multiplexing/reading/io-multiplexing.md).
In real-world applications, this constraint can be avoided with [I/O multiplexing](../../../../optimizations/reading/io-multiplexing.md).
To use the checker, run `make check` from `support`, it will test the client and afterwards the server.
You **must** implement the client first to later test the server using the checker.

Expand Down
2 changes: 1 addition & 1 deletion gen-view.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def solve_links(filename: str, fileToLab: dict) -> str:
# Get the first line of the file to extract the chapter in hyphenated format
try:
with open(filepath) as f:
title = f.readline().strip("#").replace("`", "").replace(":", "")
title = f.readline().strip("#").replace("`", "").replace(":", "").replace("/", "")
subchapter = prefix + hyphenate(title)
except:
print(f"Error: Could not solve link to {filepath} for {filename}")
Expand Down