Comparison

net/server.lua @ 4811:1d1fdfa29f06

net.server: server_select != server_event (thanks Nulani, Florob)
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 May 2012 18:53:36 +0100
parent 4808:07d0a3a75c8a
child 5198:430797a8fc81
comparison
equal deleted inserted replaced
4810:3bf0100d7303 4811:1d1fdfa29f06
16 end 16 end
17 17
18 local server; 18 local server;
19 19
20 if use_luaevent then 20 if use_luaevent then
21 server = require "net.server_select"; 21 server = require "net.server_event";
22 22
23 -- Overwrite signal.signal() because we need to ask libevent to 23 -- Overwrite signal.signal() because we need to ask libevent to
24 -- handle them instead 24 -- handle them instead
25 local ok, signal = pcall(require, "util.signal"); 25 local ok, signal = pcall(require, "util.signal");
26 if ok and signal then 26 if ok and signal then