|
Post by rikky on Jan 27, 2016 7:29:39 GMT 1
Ehm, I am still learning the basics of the BaCon , so I found a typo in the reference documentation manual Chapter Networking Sub chapter TCP first example line 2 : SEND "GET / HTTP/1.1\r\nHost: http://www.basic-converter.org\r\n\r\n") TO mynet should be : SEND "GET / HTTP/1.1\r\nHost: http://www.basic-converter.org\r\n\r\n" TO mynet line 8: PRINT total should be : PRINT total$ OPEN "www.basic-converter.org:80" FOR NETWORK AS mynet SEND "GET / HTTP/1.1\r\nHost: www.basic-converter.org\r\n\r\n" TO mynet REPEAT RECEIVE dat$ FROM mynet total$ = total$ & dat$ UNTIL ISFALSE(WAIT(mynet, 5000)) CLOSE NETWORK mynet PRINT total$ Not realy important, everybody would figure this out, but..
|
|
|
Post by Pjot on Jan 27, 2016 12:50:10 GMT 1
Thanks rikky,
I will update the manual.
BR Peter
|
|