Diff

net/resolvers/basic.lua @ 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 11708:5ef729c355f3
child 11901:26406ce35e20
line wrap: on
line diff