Jump to content

Hello world/Web server: Difference between revisions

m
m ({{header|AutoIt}})
Line 56:
$content = TCPRecv($newConnection, 2048)
If StringLen($content) > 0 Then
TCPSend($newConnection, Binary("HTTP/1.1 200 OK" & @CRLF))
TCPSend($newConnection, Binary("Content-Type: text/html" & @CRLF))
TCPSend($newConnection, Binary("Content-Length: "& BinaryLen($string) & @CRLF & @CRLF))
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.