Read the standard; it's all there. As for code, it shouldn't be too difficult: connect to the server, send the request, get the response and close the connection. I'm sure you can find examples in higher libs: dive into the source of, say, fcl-web and similar and see the examples for fcl-net and alike.
Although why you want to do it with socket programming instead of using a higher level lib is a complete mistery to me
Thank you for your response.
I know doing it using indy idHttpCLient, synapse http client, FPHttpClient, ICS THttpCli.
I want to write an Http Flooder .
*/ Connect to server,
*/ Send Get request,
*/ disconnect without waiting server to response me.
I write the tool for pentest purpose, not anything other.
So I decided to use TidTCPClient from Indy palette, but the syntax of GET may be so complicated to write (each browser or client sends with different syntax)
This is why I'm aking for Help.
Thnk you.