Comparison

net/server_select.lua @ 7066:7d5a1fb9bf9e

net.server_select: Add 'server' method to client connections (present in server_event)
author Kim Alvefur <zash@zash.se>
date Sat, 09 Jan 2016 23:54:19 +0100
parent 7043:14bc5593b97e
child 7074:3ff83773ffc0
child 7098:5286e79c6829
comparison
equal deleted inserted replaced
7065:4fc3c008976f 7066:7d5a1fb9bf9e
395 if server then 395 if server then
396 server.remove( ) 396 server.remove( )
397 end 397 end
398 out_put "server.lua: closed client handler and removed socket from list" 398 out_put "server.lua: closed client handler and removed socket from list"
399 return true 399 return true
400 end
401 handler.server = function ( )
402 return server
400 end 403 end
401 handler.ip = function( ) 404 handler.ip = function( )
402 return ip 405 return ip
403 end 406 end
404 handler.serverport = function( ) 407 handler.serverport = function( )