|
|
@ -24,7 +24,7 @@ function socket:isBlocking()
|
|
|
|
return _funcs.lua_socket_is_blocking(self.server_id,self.client_id)
|
|
|
|
return _funcs.lua_socket_is_blocking(self.server_id,self.client_id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
function socket:setBlocking()
|
|
|
|
function socket:setBlocking()
|
|
|
|
_funcs.lua_socket_set_blocking(self.server_id,self.client_id,true)
|
|
|
|
_funcs.lua_socket_set_blocking(self.server_id,self.client_id,true)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
function socket:setNonblocking()
|
|
|
|
function socket:setNonblocking()
|
|
|
|
_funcs.lua_socket_set_blocking(self.server_id,self.client_id,false)
|
|
|
|
_funcs.lua_socket_set_blocking(self.server_id,self.client_id,false)
|
|
|
|