Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » New internet support (TcpSocket, HttpRequest)
New internet support (TcpSocket, HttpRequest) [message #36047] Sat, 21 April 2012 14:39 Go to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
It has taken much longer than I anticipated, but I am happy to announce that there is now new "internet infrastructure" in the Core. New classes are:

Zlib - this provides zlib/gzip compression/decompression, the new feature provided by this class is that it supports "streaming" operations (e.g. file can be written by parts).

IpAddrInfo - this encapsulates getaddrinfo API (DNS resolution) and provides asynchronous operation (implemented using auxiliary threads).

TcpSocket - big news here is that "SSL" is just mode, not separate class. Also timeout issues are somewhat unified.

HttpRequest - compared to legacy HttpClient, it provides asynchronous mode of operations - it is now possible to e.g. perform multiple requests in single thread quite easily. Also it provides streaming support, e.g. when downloading file, it is now possible to save it directly to disk.

New features are demonstrated by reference/GuiWebCrawler and reference/GuiWebDownload.

Mirek

[Updated on: Sat, 21 April 2012 14:40]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Cookie Prize 2012
Next Topic: Core/SMTP
Goto Forum:
  


Current Time: Wed May 15 11:22:04 CEST 2024

Total time taken to generate the page: 0.02313 seconds