I'm trying to write a little application which connects to the internet over Tor. The application uses the zeromq messaging library to get some information from another server and it's basically only one file that runs.
On the TorifyHOWTO page I read some more information about torifying an application, but I'm kind of lost in that page. Also, I wonder if I should make some kind of wrapper around my program, or around the zeromq messaging library. I suppose I might be able to get zeromq to use a certain (Tor)proxy. But if so, what kind of proxy information should I use?
Could anybody provide some hints about where I could start? (example code would be great)