Hello, I am having a little trouble connecting a TSocket.
Each time I try I get this error.
Script connection to
http://wr3ckless.net:0 is not allowed, blocking.
Maybe I am doing something wrong?
My ultimate goal is to make the GServer listen on a host/port, in which it allows me to send data from a webserver to to GServer.
Here is what I have experimented with.
PHP Code:
function onCreated(){
temp.socket = new TSocket();
socket.bind(0, false);
socket.connect("http://wr3ckless.net", 0);
thiso.catchevent(socket, "onConnect", "onConnected");
}
function onConnected(){
echo("TSocket Connected: "@params);
}
Additionally is there any type of socket.listen(host, port);?