This commit is contained in:
Your Name
2021-05-12 08:06:03 +02:00
parent 29675be5a2
commit d3d83e1d90
6 changed files with 237 additions and 138 deletions

View File

@@ -322,9 +322,12 @@ class Rocksock():
s = ''
c = '\0'
while c != '\n':
try:
c = self.recv(1)
if c == '': return s
s += c
except Exception as e:
raise e
return s
def recvuntil(self, until):