Changeset

2339:b04014f42fce

net.server_select: Add get_backend() method
author Matthew Wild <mwild1@gmail.com>
date Tue, 08 Dec 2009 01:22:09 +0000
parents 2338:2a163f6a4bc2
children 2340:b286d60cb4fc
files net/server_select.lua
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_select.lua	Tue Dec 08 01:16:24 2009 +0000
+++ b/net/server_select.lua	Tue Dec 08 01:22:09 2009 +0000
@@ -845,6 +845,10 @@
     return "quitting"
 end
 
+local function get_backend()
+	return "select";
+end
+
 --// EXPERIMENTAL //--
 
 local wrapclient = function( socket, ip, serverport, listeners, pattern, sslctx, startssl )
@@ -917,5 +921,6 @@
     getsettings = getsettings,
     setquitting = setquitting,
     removeserver = removeserver,
+    get_backend = get_backend,
     changesettings = changesettings,
 }