def wire.recv
import emerging-ezhttp@0.21.0.0/src/wire.bend as Wireimport Base
import bend-kit-wire@0.4.6.1/wire.bend as W
40# the next octets a socket has received, packed four to a word
41def wire.recv(secure: Bool, s: Socket, ms: U32)
42 -> IO(Socket & Result<&1, &1, U32 & String, U32 & Array<U32>>):
43 match secure:
44 case True{}:
45 W.tls.recv.words(s, wire.max(), ms)
46 case False{}:
47 W.recv.words(s, wire.max(), ms)