aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/chat_simulation.sh
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
committerhozan23 <hozan23@proton.me>2023-12-02 05:10:33 +0300
commit8cdc44b24724acf7dd458e59f5ceed4af04574be (patch)
tree1e0aad5a905508c54f7d9be4d4b800b7e8f7d532 /p2p/examples/chat_simulation.sh
parent5111a3d5749625c3d8e26a24a5a32c4da58f18d3 (diff)
Ensure uniform usage of the name `karyon` across all files
Diffstat (limited to 'p2p/examples/chat_simulation.sh')
-rwxr-xr-xp2p/examples/chat_simulation.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/p2p/examples/chat_simulation.sh b/p2p/examples/chat_simulation.sh
index 82bbe96..0cc63cc 100755
--- a/p2p/examples/chat_simulation.sh
+++ b/p2p/examples/chat_simulation.sh
@@ -3,23 +3,23 @@
# build
cargo build --release --example chat
-tmux new-session -d -s karyons_chat
+tmux new-session -d -s karyon_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user1'\
+tmux send-keys -t karyon_chat "../../target/release/examples/chat --username 'user1'\
-l 'tcp://127.0.0.1:40000' -d '40010'" Enter
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user2'\
+tmux split-window -h -t karyon_chat
+tmux send-keys -t karyon_chat "../../target/release/examples/chat --username 'user2'\
-l 'tcp://127.0.0.1:40001' -d '40011' -b 'tcp://127.0.0.1:40010 ' " Enter
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user3'\
+tmux split-window -h -t karyon_chat
+tmux send-keys -t karyon_chat "../../target/release/examples/chat --username 'user3'\
-l 'tcp://127.0.0.1:40002' -d '40012' -b 'tcp://127.0.0.1:40010'" Enter
-tmux split-window -h -t karyons_chat
-tmux send-keys -t karyons_chat "../../target/release/examples/chat --username 'user4'\
+tmux split-window -h -t karyon_chat
+tmux send-keys -t karyon_chat "../../target/release/examples/chat --username 'user4'\
-b 'tcp://127.0.0.1:40010'" Enter
tmux select-layout tiled
-tmux attach -t karyons_chat
+tmux attach -t karyon_chat