I don't think it's a dynamic instance; I only specify the port and, optionally, the template for how the data is received or sent. It's completely dynamic; I can close ports or clients, or assign a template.
See post edit.
Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy!
www.b4x.com