|
|
|
@ -50,7 +50,7 @@ function server:accept()
|
|
|
|
|
if id~=nil then
|
|
|
|
|
return client{server_id=self.server_id,client_id=id}
|
|
|
|
|
else
|
|
|
|
|
return
|
|
|
|
|
return
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
@ -64,4 +64,4 @@ function tcp:connect( address,port )
|
|
|
|
|
return client{client_id=id}
|
|
|
|
|
end
|
|
|
|
|
--TODO garbage collect stuff
|
|
|
|
|
return _ENV
|
|
|
|
|
return _ENV
|
|
|
|
|