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 next message
mirek is currently offline  mirek
Messages: 13975
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

Re: New internet support (TcpSocket, HttpRequest) [message #36065 is a reply to message #36047] Mon, 23 April 2012 07:35 Go to previous message
koldo is currently offline  koldo
Messages: 3358
Registered: August 2008
Senior Veteran
Thank you Mirek. Good job.

Best regards
IƱaki
Previous Topic: Cookie Prize 2012
Next Topic: Core/SMTP
Goto Forum:
  


Current Time: Mon Apr 29 12:26:16 CEST 2024

Total time taken to generate the page: 0.02863 seconds