Did you do TCPObject.listen(portHere); ?
I believe the command field will be called every time you edit the field. It's been a while since I've worked with GUIs, though.
Someone wrote a small tutorial on it, I'll go find it. (iirc it was made by Trinick)EDIT: Here.
The individual connection is handled by the no-name object you create in onConnectRequest, not the AServerTCP. Change it to something like this to receive the data:function AServerTCP::onConnectRequest(%this, %ip, %socket){ %this.connection[%ip] = new TCPobject(AServerTCP_Inst, %socket) { parent = %this; };}And then you can do this:function AServerTCP_Inst::onLine(%this, %line){ announce(%line);}
And then what IP/port would you use