Game Development Community

Connecting a Torque Client to a C++ server

by Shane Paustian · in Technical Issues · 09/20/2006 (12:56 pm) · 1 replies

I was wondering if anyone knows if I can get the Client for torque to communicate with a C++ coded server and how to get the client to try to communicate with a specific server at a specific address directly. (Even if it is not a C++ server).

Thanks,
spaustia

About the author

Recent Threads


#1
09/22/2006 (2:56 pm)
If you want the C++ coded server to act as the game server then using the Torque Network Library will make it tons easier, but a better choice would be to just use Torque as the server as well as the client.

If you're communicating with a C++ server and transmitting text then that's easy. TCP Connections are exposed to the script language, so it doesn't even take any changes on the client-side other than scripting.

But, the answer to your question is yes, it can be done.