Game Development Community

TCPObject communication

by James Spellman · in Torque Game Engine · 07/24/2006 (8:43 pm) · 0 replies

I've finally established a TCPObject connection with my external editing tool. Now I'm trying to decide what format my messages should be in.

I could do a simple line parser like the examples show.

Or I could create a message header/body structure, either fixed properties or streaming.

Or perhaps XML strings.

Both apps will run on the same machine or LAN. The messages should be small and infrequent like "Play Video" or "Move Object to XYZ". Perhaps someone out there has experience and/or an opinion on this topic?