Re: Problem with UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302]
"sandeep garg" <[email protected]> Fri, 2 May 2003 09:29:37 -0700
| Newsgroups | gmane.linux.upnp-sdk.general |
|---|---|
| Message-ID | <001001c310c8$0639c9e0$6700a8c0@sandeep> |
When you close the device first, the unsubscribe messages sent by the control point are not received by the device. In this case, the control point is trying to read the response of unsubscribe message on a socket which is closed now. Thus, the control point returns this error code to the user. Sandeep ----- Original Message ----- From: W.C Chang To: [email protected] Sent: Saturday, April 26, 2003 7:53 PM Subject: [UPnP-SDK-discuss] Problem with UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302] Dear All: I trace the sample code with upnp_tv_device and upnp_tv_ctrlp. when I key in the exit command in upnp_tv_device program. the upnp_tv_ctrlp will recive the UPNP_DISCOVERY_ADVERTISEMENT_BYEBYE message send by upnp_tv_device and it cause the action with unsubscribe in upnp_tv_ctrlp. but, it always cause the UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302] error when upnp_tv_ctrlp execution the UpnpUnSubscribe( ) function. Do there have anybody know which situation will cause this error in the program!! thanks!! PS: the sample code is publish with libupnp-1.2.1.tar.gz