aboutsummaryrefslogtreecommitdiff
path: root/p2p/examples/chat_simulation.sh
diff options
context:
space:
mode:
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