receive-into ( buf datagram -- buf-slice addrspec )


Vocabulary
io.sockets

Inputs
bufan object
datagraman object


Outputs
buf-slicean object
addrspecan object


Definition


:: receive-into ( buf datagram -- buf-slice addrspec )
buf length :> n n buf datagram receive-unsafe
:> ( count addrspec ) buf count head-slice addrspec ; inline