| View previous topic :: View next topic |
| Author |
Message |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Tue Apr 21, 2009 11:00 pm Post subject: [C++] Html |
|
|
How do I get/post stuff with html?
or is there a html c++ tut out there?
nub question, yes?
pleaseanswer.
kkthxbai
_________________
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Wed Apr 22, 2009 2:03 am Post subject: |
|
|
| QHttp is a nice lib.
|
|
| Back to top |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Thu Apr 23, 2009 8:56 pm Post subject: |
|
|
i see. elaborate?
_________________
|
|
| Back to top |
|
 |
nwongfeiying Grandmaster Cheater
Reputation: 2
Joined: 25 Jun 2007 Posts: 695
|
Posted: Thu Apr 23, 2009 9:14 pm Post subject: |
|
|
| I'm going to guess that it's a library that you can download. I suggest you check out what the packets look like and use Winsock to imitate it. Don't ask me how because I just know the concept, not the whole code.
|
|
| Back to top |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Thu Apr 23, 2009 9:22 pm Post subject: |
|
|
i see. hmm i looked at qhttp and it's a lib, i think...hmm,
what are the uses of winsock and QHttp?
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Apr 23, 2009 9:40 pm Post subject: |
|
|
Winsock
| Quote: |
In computing, the Windows Sockets API, which was later shortened to Winsock, is a technical specification that defines how Windows network software should access network services, especially TCP/IP. It defines a standard interface between a Windows TCP/IP client application (such as an FTP client or a Gopher client) and the underlying TCP/IP protocol stack. The nomenclature is based on the Berkeley sockets API model used in Berkeley UNIX for communications between programs. Initially, all the participating developers resisted the shortening of the name to Winsock for a long time, since there was much confusion among users between the API and the DLL library file (winsock.dll) which only exposed the common WSA interfaces to applications above it. Users would commonly believe that only making sure the DLL file was present on a system would provide full TCP/IP protocol support.
|
Qhttp
| Quote: |
The QHttp class provides an implementation of the HTTP protocol.
This class provides a direct interface to HTTP that allows you to have more control over the requests and that allows you to access the response header fields. However, for new applications, it is recommended to use QNetworkAccessManager and QNetworkReply, as those classes possess a simpler, yet more powerful API.
The class works asynchronously, so there are no blocking functions. If an operation cannot be executed immediately, the function will still return straight away and the operation will be scheduled for later execution. The results of scheduled operations are reported via signals. This approach depends on the event loop being in operation.
The operations that can be scheduled (they are called "requests" in the rest of the documentation) are the following: setHost(), get(), post(), head() and request().
All of these requests return a unique identifier that allows you to keep track of the request that is currently executed. When the execution of a request starts, the requestStarted() signal with the identifier is emitted and when the request is finished, the requestFinished() signal is emitted with the identifier and a bool that indicates if the request finished with an error.
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sun May 03, 2009 5:21 pm Post subject: |
|
|
Winsock = made by microsoft
winsock = internet sockets lets you connect to internet
winsock = harder requires programming intelligence.
Qhttp = library you import (lib file) it uses Winsock inside of it.
Qhttp = made someone not microsoft its wrapper for Winsock
Qhttp = makes your job easier no programming skill required.
_________________
|
|
| Back to top |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Mon May 04, 2009 9:44 pm Post subject: |
|
|
oh okay. i'll go up for winsock because i need a challenge.
thanks!
_________________
|
|
| Back to top |
|
 |
|