Commit graph

5 commits

Author SHA1 Message Date
Alex Shinn
f759076d2b Binding a socket makes it non-blocking by default.
Allowing primitives (currently only send/receive) to block just once
with SEXP_G_IO_BLOCK_ONCE_ERROR.
2014-09-28 16:20:45 +09:00
Alex Shinn
fbacd0ff6d Adding non-blocking versions of send and receive. 2014-09-27 20:53:33 +09:00
Alex Shinn
a05a97fc1d Supporting inet6 addresses in sockaddr-name. 2014-09-22 22:18:43 +09:00
Alex Shinn
c8f61c8893 Adding send and receive support, with an example of how to use them with udp. 2014-08-22 22:41:42 +09:00
Alex Shinn
8b5eb68238 File descriptors maintain a reference count of ports open on them
They can be close()d explicitly with close-file-descriptor, and
will close() on gc, but only explicitly closing the last port on
them will close the fileno.  Notably needed for network sockets
where we open separate input and output ports on the same socket.
2014-02-20 22:32:50 +09:00