Using the EventClient API Kubuntu 8.10
#1
Hi, I've been using the precompiled XMBC on Kubuntu for my htpc for quite some now. I'm interested in developing a way to remote control it, and using my laptop with a EventClient seems like a good way. I got the source and example from here http://trac.xbmc.org/browser/branches/li...entClients.

I had only to modify the code to point to my htpc's static ip instead of localhost. I did this by looking at the constructor CAddress. The program compiles without complain on Kubuntu 8.10 and then when I run it creates a CPacketHELO object and uses the Send member function without complaint, the server identifies a 'new connection' as a notification.

The program then proceeds to create a CPacketBUTTON object successfully. A call to the send member function causes a crash however. I am not a competent enough developer to understood the output.

I would appreciate any help in overcoming this obstacle. I have included the sources I am working with as well as the error output.

My copy of xmbcclient.h
http://www.hydrogen18.com/stuff/xmbcclient.h
My copy of example_button1.cpp

http://www.hydrogen18.com/stuff/example_button1.cpp
Error log

http://www.hydrogen18.com/stuff/error.txt
Reply

Logout Mark Read Team Forum Stats Members Help
Using the EventClient API Kubuntu 8.101