Sending commands to web site via NTMLView

BlitzMax Forums/BlitzMax Programming/Sending commands to web site via NTMLView

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No need to use sockets for that...
local stream:TStream = OpenStream("http::blitzbasic.com", True, False)
if Not(stream) then RunTimeError "Oops..."

repeat
  print stream.ReadLine()
Until stream.EOF()

stream.Close()

End
...And before some smart arse pops up...I obviously meant, not directly. ;op