Commit graph

9 commits

Author SHA1 Message Date
Daniel Barlow
2388e4ca24 recvfrom(-1) is not the same as recvfrom() 2023-02-15 22:06:28 +00:00
Daniel Barlow
118f78f334 remove "using luasocket" message 2023-02-15 22:06:28 +00:00
Daniel Barlow
a258456f25 check return value of bind
is common to forget to run this as root, in which case we would like
to see the permission denied error when it tries to open port 69
2023-02-15 22:06:28 +00:00
Daniel Barlow
71e37f1b96 update listen docstring 2023-02-15 22:06:28 +00:00
Daniel Barlow
55688c14ed pass remote host and port to callback as params 2..3
This allows the callback to handle the response differently
depending on who is asking - for example, to refuse requests
from clients on a blocklist
2023-02-15 22:06:28 +00:00
Daniel Barlow
59c0881235 remove unhelpful debug message 2023-02-15 22:06:28 +00:00
Daniel Barlow
b84a6e0aa5 fix poll() to not mutate its parameter 2023-02-15 22:06:28 +00:00
Daniel Barlow
d729709869 remove nixio support 2023-02-15 22:06:28 +00:00
Daniel Barlow
740314b329 added at 3cb95c869e2fe74cc61ca303d88af6c5daad6734 2023-02-15 22:06:28 +00:00