.py / .rs
\n Neovim
aavtic.dev
github.com/Aavtic/
github.com/aavtic/broler
github.com/aavtic/broler
Hint: Secret Key Exchange
p, g
p = 10
g = 5
A
a = 4
A = g^a mod p
A = 5
B
b = 8
B = g^b mod p
B = 5
A -> B: A
B -> A: B
A
s = B ^ a mod p
s = 5
B
s = A ^ b mod p
s = 5
Hint: Secret Key Exchange
p, g
p = 10
g = 5
A
a = 4
A = g^a mod p
A = 5
B
b = 8
B = g^b mod p
B = 5
A -> B: A
B -> A: B
A
s = B ^ a mod p
s = 5
B
s = A ^ b mod p
s = 5
You'll learn about TCP (Transmission Control Protocol) 3 way handshake and how the sequence number and Acknowledgement numbers play important role in making TCP a Reliable protocol.
You'll learn about TCP (Transmission Control Protocol) 3 way handshake and how the sequence number and Acknowledgement numbers play important role in making TCP a Reliable protocol.
in-case anyone need any details about this project. Please DM me
in-case anyone need any details about this project. Please DM me
in-case anyone need any details about this project. Please DM me
php(.)rs
php(.)rs
a program similar to this can be used to get blocking output!.
``` capture.py
import sys
while True:
char = sys.stdin.read(1)
if char:
sys.stdout.write(char)
sys.stdout.flush()
```
and then run
$./someprogram | python3 capture.py
a program similar to this can be used to get blocking output!.
``` capture.py
import sys
while True:
char = sys.stdin.read(1)
if char:
sys.stdout.write(char)
sys.stdout.flush()
```
and then run
$./someprogram | python3 capture.py
What is the best way to get real-time output of a python program which is blocking (input statement, requests etc) ?
What is the best way to get real-time output of a python program which is blocking (input statement, requests etc) ?