a working internet modem that only reads

This commit is contained in:
minjaesong
2022-09-22 16:26:04 +09:00
parent cab2699794
commit e905b3ace8
16 changed files with 367 additions and 34 deletions

11
assets/disk0/nettest.js Normal file
View File

@@ -0,0 +1,11 @@
let url="http://localhost/testnet/test.txt"
let file = files.open("B:\\"+url)
if (!file.exists) {
printerrln("No such URL: "+url)
return 1
}
let text = file.sread()
println(text)