Hello world/Web server: Difference between revisions
Content added Content deleted
m (added whitespace before the TOC (table of contents), added a ;Task: (bold) header.) |
(Add Gastona code) |
||
Line 584: | Line 584: | ||
socket.shutdownOutput() |
socket.shutdownOutput() |
||
socket.close()</lang> |
socket.close()</lang> |
||
=={{header|Gastona}}== |
|||
A minimal graphical user interface, a console, is included to allow |
|||
following the server activity and also being able to quit it by closing the window. |
|||
But it is not stritctly needed, just the unit #listix# would do the job. |
|||
<lang gastona>#javaj# |
|||
<frames> oConsole |
|||
#listix# |
|||
<main> |
|||
MICOHTTP, START, myServer, 8080 |
|||
<GET /> |
|||
//<html><body> |
|||
// Goodbye world! |
|||
//</body></html> |
|||
</lang> |
|||
=={{header|Go}}== |
=={{header|Go}}== |