File

teal-src/util/compat.d.tl @ 11793:9006ff4838ff

net.server_epoll: Try to make port number related methods sane Previously it was unclear whether "client port" was the port that the client connected to, or from. I hereby declare that the client port is the source port and the server port is the destination port. Incoming and outgoing connections can be distinguished by looking at the_server reference, which only incoming connections have.
author Kim Alvefur <zash@zash.se>
date Sun, 12 Sep 2021 15:47:06 +0200
parent 11432:113f3912c7cb
line wrap: on
line source

local record lib
	xpcall : function (function, function, ...:any):boolean, any
end
return lib