I want to send HTTP POST
command to a server with socket connection.
How can I do it with indy?
By the way, what is HTTP
? and what is Socket
? Is IdHTTP
a socket?
I want to send HTTP POST
command to a server with socket connection.
How can I do it with indy?
By the way, what is HTTP
? and what is Socket
? Is IdHTTP
a socket?
IdHTTP is not a socket, it´s a VCL component that implements a HTTP client. It´s indeed used to send HTTP commands to a web server, like the POST you want to perform.
Http: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
Socket: http://en.wikipedia.org/wiki/Network_socket
Post example: Http Post with indy