Saturday, June 04, 2005
I have relased new packages of CyberLink for C++ today. Using this version, you can load the device descriptions and the service SCPDs from memory instead of the file system, use Expat as the XML parser. However this release has any problems yet on MacOSX platform.
CyberLink for C++ v1.7 :
CyberLink for C++ v1.7 :
* Changed some headers to compile normally on cygwin and mingw.
* Added support for Expat XML parser.
* Added support for HTTP chunked stream to CyberHTTP.
* Fixed StateVariable::setValue() to set blank value when a null value is specified.
* Fixed XML::EscapeXMLChars() to convert from "'" to "'" instead of "\".
* Changed Socket::send() to retry when the packet is not sent normally.
* Changed StateVariable::getAllowedValueList() and AllowedValueList::getAllowedValue() to use AllowedValue instead of std::string as the member.
* Fixed Device::getNotifyDeviceNT() to return the UDN when the device is not root device.
* Changed httpPostRequestRecieved() to return the bad request when the post request isn't the SOAP action.
* Added Device::loadDescription(const char *) to load the description from memory.
* Added Service::loadSCPD() to load the description from memory.
* Added a exclusive access control to Device::getDescriptionData().
* Removed Service::setDescriptionURL() and Service::getDescriptionURL().
* Changed httpGetRequestRecieved() to return the description stream using Device::getDescriptionData() and Service::getSCPDData() at first.
* Changed Thread::start() and stop() to virtual method for overriding in the sub class.
* Changed Device::deviceSearchResponse() answer with USN:UDN::when request ST is device type.
* Changed Device::getDescriptionData() and Service::getSCPDData() to add a XML declaration at first line.
* Added a new Device::setActionListener() and serQueryListner() to include the sub devices.
* Changed ActionRequest::getActionName() to return when the delimiter is not found.
* Added support for gcc 4.0.
Comments:
<< Home
Hi,
I'm trying to do an extension to this code to transcode certain content, but the problem I am having is that of course I don't know exactly what the content-length will be. I've tried sending large lenght, but then the device I am using goes haywire constantly make range requests for the file, once I stop sending data. I've tried sending no content-length header but that fails immediately. Is there something simple I am missing or do I have to start sending it in known chunk sizes. Any help would be appreciated.
I'm trying to do an extension to this code to transcode certain content, but the problem I am having is that of course I don't know exactly what the content-length will be. I've tried sending large lenght, but then the device I am using goes haywire constantly make range requests for the file, once I stop sending data. I've tried sending no content-length header but that fails immediately. Is there something simple I am missing or do I have to start sending it in known chunk sizes. Any help would be appreciated.
Thank you!
[url=http://wwiwuzcq.com/fkkt/qvew.html]My homepage[/url] | [url=http://tgcfukhi.com/waqh/vqvf.html]Cool site[/url]
[url=http://wwiwuzcq.com/fkkt/qvew.html]My homepage[/url] | [url=http://tgcfukhi.com/waqh/vqvf.html]Cool site[/url]
HI,
How does one get CyberLink for C++ to compile for MinGW? ... I tried to whole ./configure --prefix=/mingw and make deal, but it needs pthreads, so I found a pthread libaray from redhat for win32, but it doe snot include several pthread functions which are needed.. so what to do? (in truth I'd like to avout using the pthread thing).
Post a Comment
How does one get CyberLink for C++ to compile for MinGW? ... I tried to whole ./configure --prefix=/mingw and make deal, but it needs pthreads, so I found a pthread libaray from redhat for win32, but it doe snot include several pthread functions which are needed.. so what to do? (in truth I'd like to avout using the pthread thing).
<< Home