ローカル環境でwebページを表示できそうなコードを書いてみました。
しかし、インターネットエクスプローラーでは表示されませんでした。
やはり、あらやさんの言う通り、hspでは無理なのでしょうか?
以下コード
#include"hspsock.as"
ipget:mes refstr
sockmake 1,2000
if(stat!0){mes"Error":end}else{mes"MadeServer"}
repeat
sockwait 1
if(stat=0):break
await:loop
repeat
sockput "HTTP/1.1 200 OK",1
sockput "\n",1
sockput "content-Type:text/html>",1
sockput "\n",1
sockput "<Connnection: close>",1
sockput "\n",1
sockput "<!DOCTYPE html>",1
sockput "\n",1
sockput "<html>",1
sockput "\n",1
sockput "<head>",1
sockput "\n",1
sockput "<title>helloHTML</title>",1
sockput "\n",1
sockput "</head>",1
sockput "\n",1
sockput "<body>",1
sockput "\n",1
sockput "Hello",1
sockput "\n",1
sockput "</body>",1
sockput "\n",1
sockput "</html>",1
sockput "\n",1
if(stat!0):mes"Error"
await 10000
loop