|
Hello,
"Socket" is just a module socket.lua , which uses shared library socket/core.so tail ..lua/5.1/socket.lua: " local string = require("string") local math = require("math") local socket = require("socket.core") module("socket") ----------------------------------------------------------------------------- -- Exported auxiliar functions ----------------------------------------------------------------------------- function connect(address, port, laddress, lport) local sock, err = socket.tcp() " I have used Memcached, which uses socket. This example is only for debug purposes. Because problem takes place from C shared library. 06.02.2013 14:06, Daurnimator :
|