Diff

net/connect.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 10945:2edb72ef312a
child 11901:26406ce35e20
line wrap: on
line diff