view util/bit53.lua @ 10861:e12690a37795

net.server_epoll: Add way to start accepting clients on an arbitrary server socket This adds an escape hatch where things like UNIX sockets can be added.
author Kim Alvefur <zash@zash.se>
date Mon, 01 Jun 2020 17:19:08 +0200
parents 48f7cda4174d
children d77d8fba44ad
line wrap: on
line source

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};