plugin induced server hang
#6
I can get this to return true,

Lua__cTCPLink():Connect( "omencraft.com", 80 )

, but that's all I've been able to figure out so far. Any more hints you can give? It seems like once a port is open I need some kind of hook for the plugin to pickup on to send data, and another one to receive data, there aren't any hooks like that in cPluginManager.cpp though.


This always returns a nil value:
Lua__cTCPLink():ReceivedData( data, size )

abd using that as a function in the lua causes a c stack overflow:

function Lua__cTCPLink():ReceivedData( data, size )
print("hello world")
end
Reply
Thanks given by:


Messages In This Thread
plugin induced server hang - by rs2k - 11-11-2011, 12:29 PM
RE: plugin induced server hang - by ThuGie - 11-11-2011, 12:57 PM
RE: plugin induced server hang - by rs2k - 11-11-2011, 02:08 PM
RE: plugin induced server hang - by FakeTruth - 11-11-2011, 02:28 PM
RE: plugin induced server hang - by rs2k - 11-11-2011, 02:38 PM
RE: plugin induced server hang - by rs2k - 11-13-2011, 10:18 AM
RE: plugin induced server hang - by FakeTruth - 11-13-2011, 01:22 PM



Users browsing this thread: 1 Guest(s)