Comparison

net/server_select.lua @ 3685:63efe4eefa07

net.server_select: Made some globals local.
author Waqas Hussain <waqas20@gmail.com>
date Thu, 02 Dec 2010 22:55:42 +0500
parent 3682:d12141cbbaa0
child 3686:27d3e2a2a248
comparison
equal deleted inserted replaced
3684:bd071e3901dc 3685:63efe4eefa07
30 --// lua functions //-- 30 --// lua functions //--
31 31
32 local type = use "type" 32 local type = use "type"
33 local pairs = use "pairs" 33 local pairs = use "pairs"
34 local ipairs = use "ipairs" 34 local ipairs = use "ipairs"
35 local tonumber = use "tonumber"
35 local tostring = use "tostring" 36 local tostring = use "tostring"
36 local collectgarbage = use "collectgarbage" 37 local collectgarbage = use "collectgarbage"
37 38
38 --// lua libs //-- 39 --// lua libs //--
39 40
124 local _cleanqueue 125 local _cleanqueue
125 126
126 local _timer 127 local _timer
127 128
128 local _maxclientsperserver 129 local _maxclientsperserver
130
131 local _maxsslhandshake
129 132
130 ----------------------------------// DEFINITION //-- 133 ----------------------------------// DEFINITION //--
131 134
132 _server = { } -- key = port, value = table; list of listening servers 135 _server = { } -- key = port, value = table; list of listening servers
133 _readlist = { } -- array with sockets to read from 136 _readlist = { } -- array with sockets to read from