diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-12 17:36:34 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-12 17:36:34 +0200 |
commit | f9ffb571e387e6d16adda1e74e91cc78da8b0cc0 (patch) | |
tree | 9e04d366c38c06a01edc5c3951a2f0f5c7ee03e1 /util/rfc6724.lua | |
parent | 1bb64c04457b584ae9c653f8a1c172e7a36663b6 (diff) | |
download | prosody-f9ffb571e387e6d16adda1e74e91cc78da8b0cc0.tar.gz prosody-f9ffb571e387e6d16adda1e74e91cc78da8b0cc0.zip |
net.server: Swich method for connecting sockets with remotes
LuaSocket TCP sockets have have both :connect and :setpeername, which
are the exact same function, however UDP sockets only have :setpeername.
Switching to :setpeername allows most of this code to be generic wrt
TCP/UDP.
Diffstat (limited to 'util/rfc6724.lua')
0 files changed, 0 insertions, 0 deletions