Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - libupnp-1.6.17 sample programs tv_device and tv_ctrlpt cannot run simultaneously on QNX: (2 Items)
   
libupnp-1.6.17 sample programs tv_device and tv_ctrlpt cannot run simultaneously on QNX  
On QNX Neutrino 6.5.0, libupnp-1.6.17 cannot be compiled smoothly. But the sample program tv_device and tv_ctrlpt cannot
 run simultaneously.

In one terminal, run tv_device
#./tv_device -ip 192.168.137.128 -port 49152
...
Ok

I another terminal, run tv_ctrlpt (192.168.137.128:49152)
#./tv_ctrlpt
UpnpInit() Error -203
-203 is coded as UPNP_E_SOCKET_BIND.

I have configured the Neutrino with lo0 and en0 interfaces. 
On other OS, for example Ubuntu, there is no such problem.
What is the reason?
Re: libupnp-1.6.17 sample programs tv_device and tv_ctrlpt cannot run simultaneously on QNX  
I have fixed it. 
__QNX__ should be added to the source codes to support QNX platform.