COGS can send low-level network requests over the TCP protocol to other machines on the network.
⚠️ Note that COGS does not provide a mechanism to check for successful delivery of TCP messages.
You will need to know the IP addresses of the machines you want to send messages to and the port number each machine is listening on.
Enable TCP in your COGS project in the “Build” view under “Show settings”.
Open the TCP panel on the left of the screen and add a “Destination”.
Set the IP address and port of your TCP server on the destination.
In a behaviour, add a “Send TCP message” action.
Select the destination you want to send the message to.