samuel / oriontransfer.org wrote:
> I've been playing around with sendmsg_nonblock, but I can't
> see how to make a wrapper around it with the equivalent API to
> send. It seems like it should be possible, but it always
> requires ancillary data, can't provide nil?

Huh?  The following works for me:

	require 'socket'
	a, b = UNIXSocket.pair
	b.sendmsg_nonblock("HI", exception: false)
	p a.recv(2)
	# prints "HI"

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>