Game Development Community

Networking with a non-torque application

by Jeff Ridenour · in Technical Issues · 04/16/2005 (2:26 pm) · 4 replies

Hi folks,

this is my first post, im a newbie and just starting to dig into the engine source and learning the scripting language to work on and interactive, semi-game project.

Im just learning but i need to know where to begin with this problem: I want to use a different application (a realtime motion capture system) to provide input to my server, and i need to open a simple udp connection using a different protocol built on top of udp (OSC, open sound control). i just need to receive (and probably send) custom messages to this other application.

What would be the easiest way to do this? Is there any part of the networking library that i can use without having to implement TNL functionality in the other program? Where would be the best place to add this functionality to my application?


thanks for any suggestions,

jeff

#1
04/17/2005 (2:36 pm)
TAP has innate TCP and HTTP capability (either stock, or from resources here on GG), as well as the ability to use the underlying code to create your own XXXConnection type (either derived from GameConnection, or completely from scratch) which will let you code pretty much any data level protocol you like.

You don't have to use TNL integrated into an external application, although if you do have access to the source of the external app, it really is a great way to go.
#2
04/17/2005 (5:18 pm)
So can i do what i want to do (ie receive in udp packets from a specific port number, and process them myself) using just the scripting language, or do i have to modify the engine?
#3
04/17/2005 (5:26 pm)
You would definitely have to write any new ways of handling UDP packets in code (modify the engine).
#4
07/23/2008 (12:58 pm)
Hey, i have a similar problem, i use GlovePIE for capturing raw data, and transforming them, i would like then to send that info to TGEA or TGE to use. GlovePIE uses OSC ( open sound control)

@Jeff Ridenour, did u have any luck with OSC? or is it a dead horse?