Jump to content
Sign in to follow this  
layer

TCP HTML Server

Recommended Posts

myredeemerlives

O Come on, HTTP is insainly easy.

What is so hard about this eh?

Client says:

GET /Index.htm HTTP/1.1

Um:OK

What:Yea

Why:I dunno

Host:Eh?

Server Says: OK, here ya go.

HTTP/1.1 200 OK

Some other stuff

<HTML> O boy, u suck!</HTML>

And then the server closes the connection.

Anyway, its something like that. I didn't memorize the headers but you can easily look that up.

Besides get there is the post methods, and then some other methods that you can just ignore.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×