Dec 26, 2025 Replies: 5 Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy! Attachments TCPServer.zip TCPServer.zip 50.6 KB · Views: 293 Click to expand...
Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy!
TILogistic Expert Licensed User Longtime User Dec 26, 2025 #2 and multiple ports with multiple clients per port, i.e., a port manager? It's a class for dynamically managing multiple ports and clients, as well as adding data reception and transmission templates. Last edited: Dec 26, 2025
and multiple ports with multiple clients per port, i.e., a port manager? It's a class for dynamically managing multiple ports and clients, as well as adding data reception and transmission templates.
aminoacid Well-Known Member Licensed User Longtime User Dec 26, 2025 #3 TILogistic said: and multiple ports with multiple clients per port, i.e., a port manager? Click to expand... Single Port - Multiple clients per port. But I guess you can run multiple instances of the server at different ports to achieve what you are asking.
TILogistic said: and multiple ports with multiple clients per port, i.e., a port manager? Click to expand... Single Port - Multiple clients per port. But I guess you can run multiple instances of the server at different ports to achieve what you are asking.
TILogistic Expert Licensed User Longtime User Dec 26, 2025 #4 aminoacid said: Single Port - Multiple clients per port. But I guess you can run multiple instances of the server at different ports to achieve what you are asking. Click to expand... 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 (protocol). See post edit. TCP Server - Supports multiple Clients Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy! www.b4x.com Last edited: Dec 26, 2025
aminoacid said: Single Port - Multiple clients per port. But I guess you can run multiple instances of the server at different ports to achieve what you are asking. Click to expand... 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 (protocol). See post edit. TCP Server - Supports multiple Clients Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy! www.b4x.com
aminoacid Well-Known Member Licensed User Longtime User Dec 26, 2025 #5 TILogistic said: 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. TCP Server - Supports multiple Clients Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy! www.b4x.com Click to expand... Ok.. I see it now. Pretty cool! I assume TCP Port Server and the Port Manager Class is a B4J Application? I did not see any link or attachment for it.
TILogistic said: 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. TCP Server - Supports multiple Clients Here is a complete TCP Sever that supports more that one client connection simultaneously. The code is self explanatory. Enjoy! www.b4x.com Click to expand... Ok.. I see it now. Pretty cool! I assume TCP Port Server and the Port Manager Class is a B4J Application? I did not see any link or attachment for it.
TILogistic Expert Licensed User Longtime User Dec 26, 2025 #6 aminoacid said: Ok.. I see it now. Pretty cool! I assume TCP Port Server and the Port Manager Class is a B4J Application? I did not see any link or attachment for it. Click to expand... I just wanted to demonstrate that your solution is similar in client management. You can extend your solution to port management and also assign the sending and receiving protocols for each port. My proposed solution is part of a development process for sending and receiving data to different types of devices connected to a server; that is, each device has its own data protocol or structure. And yes, it's developed in B4J.
aminoacid said: Ok.. I see it now. Pretty cool! I assume TCP Port Server and the Port Manager Class is a B4J Application? I did not see any link or attachment for it. Click to expand... I just wanted to demonstrate that your solution is similar in client management. You can extend your solution to port management and also assign the sending and receiving protocols for each port. My proposed solution is part of a development process for sending and receiving data to different types of devices connected to a server; that is, each device has its own data protocol or structure. And yes, it's developed in B4J.