]> gitweb.factorcode.org Git - factor.git/commit
io.sockets: receive-unsafe and receive-into
authorJoe Groff <arcata@gmail.com>
Mon, 17 Oct 2011 02:37:21 +0000 (19:37 -0700)
committerJoe Groff <arcata@gmail.com>
Tue, 18 Oct 2011 04:23:11 +0000 (21:23 -0700)
commit20e49c273f3fe72b27e4c2322e436400bbbf6d02
tree8852006c4eef8c045d2c118234632edf7addc44d
parent5443664df7c345f6212a124bd8df493aa1137a8d
io.sockets: receive-unsafe and receive-into
Analogous to read-unsafe/read-into for streams (and thereby TCP sockets), provide receive-unsafe and receive-into words for datagram sockets that receive into a caller-supplied buffer.
basis/io/sockets/sockets.factor
basis/io/sockets/unix/unix.factor
basis/io/sockets/windows/windows.factor