Skip to content

tnantoka/hello-httpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

make
./hello 8080 &

telnet 127.0.0.1 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.0 200 OK
Content-type: text/html

<!DOCTYPE html>
<html>
<head>
	<title>test</title>
</head>
<body>
	<h1>Hello, httpd!</h1>
	<p>This is index.html.</p>
</body>
</html>Connection closed by foreign host.

Releases

No releases published

Packages

No packages published

Languages