Hello,

I have made a server application in Qt, in order to automatically 
discover the server I've implemented code that talks with the OpenSLP 
API and registers the server. This code works fine on Linux but I am 
having troubles to get it running on Windows (XP).

I have a small version difference, the version of SLPD on my Linux 
machine is 1.2.1 and the one on my Windows version is 2.0.0, I assumed 
the interface would stay the same so this wouldn't be a problem.

On both OS's I compiled against SLP.h and on Linux linked with -lslp and 
with Windows I have linked against slp.dll.

I have adapted the code from the openslp.org site, my code can be found 
here: http://pastebin.com/dak6YGnE

The weird thing is also when I register a dummy service by hand with the 
slptool it disappears within a few seconds. I've also tried to run 
slpd.exe in debug mode but nothing showed up.

Can anyone point me where this might be going wrong?

Regards,
Gerard


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users

Reply via email to