~aleteoryx/ntalk

f61a42815a37be62aa7dcf9cf5acffd47fb33e65 — Aleteoryx a month ago eca1313 master
actually update the timeout lmao
1 files changed, 3 insertions(+), 2 deletions(-)

M nanobnc.py
M nanobnc.py => nanobnc.py +3 -2
@@ 94,11 94,12 @@ def toserver():
def toclient():
	fp = sok.makefile('r', encoding='ascii', errors='ignore')
	while (s := fp.readline()) != '':
		alarm(timeout)
		stdout.write(s)
		stdout.flush()
	shutdown()
	exit(0)

t = threading.Thread(target=toclient)
t = threading.Thread(target=toserver)
t.start()
toserver()
toclient()