Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
var inet = require('IO::Socket::INET');
|
||||
|
||||
var sock = inet.new( LocalAddr => "127.0.0.1:8080",
|
||||
Listen => 1,
|
||||
Reuse => 1,
|
||||
);
|
||||
|
||||
while (var client = sock.accept) {
|
||||
client.print ("HTTP/1.1 200 OK\r\n" +
|
||||
"Content-Type: text/html; charset=UTF-8\r\n\r\n" +
|
||||
"<html><head><title>Goodbye, world!</title></head>" +
|
||||
"<body>Goodbye, world!</body></html>\r\n");
|
||||
client.close;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue