How to recieve reported information from a TCP server

Assuming I send a command like “[IP];get;temp”, how would I get the information that the server returns?

This GET you are sending is a request and such a request will get a response which you could read() once it’s available()

see docs sample for TCPClient
https://docs.particle.io/reference/firmware/photon/#tcpclient