diff options
author | Mojca Miklavec <mojca.miklavec.lists@gmail.com> | 2018-03-21 18:02:46 +0100 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec.lists@gmail.com> | 2019-02-26 09:30:15 +0100 |
commit | d9afe3fd9ccf64a0686683f5453937c08611aa28 (patch) | |
tree | a5b87fb0745f97dacc632137731e938b53473947 /README | |
parent | c0fba03e4fe2a27a3471fa5af290be931f957002 (diff) | |
download | luasocket-d9afe3fd9ccf64a0686683f5453937c08611aa28.tar.gz luasocket-d9afe3fd9ccf64a0686683f5453937c08611aa28.tar.bz2 luasocket-d9afe3fd9ccf64a0686683f5453937c08611aa28.zip |
Only use EAI_OVERFLOW, AI_NUMERICSERV if defined
Some systems like Mac OS X 10.5 (and lower) do not have EAI_OVERFLOW and
AI_NUMERICSERV defined.
These variables are used to avoid a potentially slow name resolution
for the hostname (which will always be an ip address)
and for service name (which will always be an actual port number).
The code might be slower, but it should still work.
Closes: #242
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions