Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LabPy/lantz
/ recvrecord
Function
recvrecord
lantz/drivers/legacy/rpc.py:279–285 ·
view source on GitHub ↗
(sock)
Source
from the content-addressed store, hash-verified
277
278
279
def
recvrecord(sock):
280
record = b
''
281
last = 0
282
while
not last:
283
last, frag = recvfrag(sock)
284
record = record + frag
285
return
record
286
287
288
class
RawTCPClient(Client):
Callers
2
do_call
Method · 0.85
session
Method · 0.85
Calls
1
recvfrag
Function · 0.85
Tested by
no test coverage detected