Created
April 27, 2025 18:04
-
-
Save ashwanirathee/c7dcb605a0bfa88e53890b2812e95169 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> ./build/main 1 8000 8001,8002 1 | |
[P2P] Initialized with port: 8000, peers: 0 | |
[FD] Initialized with timeout: 5000ms, interval: 2000ms | |
[RB] Initialized with self_port: 8000, peers: 2 | |
[RB] Subscribing to events... | |
[App] Initialized with broadcaster type: 19ReliableBroadcaster | |
[App] Subscribing to events... | |
[FD] Starting failure detector... | |
[P2P] Thread started. | |
[App] Entering input loop. Type 'exit' to quit. | |
[P2P] Listening on port 8000 | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[P2P] Connection Failed to 127.0.0.1:8002 | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[P2P] Connection Failed to 127.0.0.1:8002 | |
Hi, I am 8000 | |
[App] Input: Hi, I am 8000 | |
[RB] Broadcasting Message! | |
[App] Received message: Hi, I am 8000 | |
[BEB] Broadcasting Message! | |
[P2P] Broadcasting Message! | |
[App] Received message: You are 8000, right! | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[RB] Message already delivered, ignoring. | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[RB] Process 8001 has crashed. | |
[RB] Correct set: | |
[RB] 8000 | |
[RB] 8002 | |
[RB] Messages from crashed process:1 | |
[BEB] Broadcasting Message! | |
[P2P] Broadcasting Message! | |
[RB] Broadcasting message from crashed process 8001: You are 8000, right! | |
Hi, I hope 8002 you are still here! | |
[App] Input: Hi, I hope 8002 you are still here! | |
[RB] Broadcasting Message! | |
[App] Received message: Hi, I hope 8002 you are still here! | |
[BEB] Broadcasting Message! | |
[P2P] Broadcasting Message! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> ./build/main 1 8001 8000,8002 1 | |
[P2P] Initialized with port: 8001, peers: 0 | |
[FD] Initialized with timeout: 5000ms, interval: 2000ms | |
[RB] Initialized with self_port: 8001, peers: 2 | |
[RB] Subscribing to events... | |
[App] Initialized with broadcaster type: 19ReliableBroadcaster | |
[App] Subscribing to events... | |
[FD] Starting failure detector... | |
[P2P] Thread started. | |
[App] Entering input loop. Type 'exit' to quit. | |
[P2P] Listening on port 8001 | |
[P2P] Connection Failed to 127.0.0.1:8002 | |
[App] Received message: Hi, I am 8000 | |
You are 8000, right! | |
[App] Input: You are 8000, right! | |
[RB] Broadcasting Message! | |
[App] Received message: You are 8000, right! | |
[BEB] Broadcasting Message! | |
[P2P] Broadcasting Message! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> ./build/main 1 8002 8000,8001 1 | |
[P2P] Initialized with port: 8002, peers: 0 | |
[FD] Initialized with timeout: 5000ms, interval: 2000ms | |
[RB] Initialized with self_port: 8002, peers: 2 | |
[RB] Subscribing to events... | |
[App] Initialized with broadcaster type: 19ReliableBroadcaster | |
[App] Subscribing to events... | |
[FD] Starting failure detector... | |
[P2P] Thread started. | |
[App] Entering input loop. Type 'exit' to quit. | |
[P2P] Listening on port 8002 | |
[App] Received message: Hi, I am 8000 | |
[App] Received message: You are 8000, right! | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[P2P] Connection Failed to 127.0.0.1:8001 | |
[RB] Process 8001 has crashed. | |
[RB] Correct set: | |
[RB] 8002 | |
[RB] 8000 | |
[RB] Messages from crashed process:1 | |
[BEB] Broadcasting Message! | |
[P2P] Broadcasting Message! | |
[RB] Broadcasting message from crashed process 8001: You are 8000, right! | |
[RB] Message already delivered, ignoring. | |
[App] Received message: Hi, I hope 8002 you are still here! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment