Software /
code /
prosody
Comparison
plugins/mod_tls.lua @ 9499:36e379f058c8
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Oct 2018 17:36:34 +0200 |
parent | 8131:c8e3a0caa0a9 |
child | 9740:4b34687ede3f |
child | 9971:5b048ccd106f |
comparison
equal
deleted
inserted
replaced
9498:cc593002f2e2 | 9499:36e379f058c8 |
---|