network module is on it's way, but there is basic socket support with the undocumented TSocketStream (brl.mod/socketstream.mod/socketstream.bmx]
here's a quick example of how to grab a web page via port 80 with it:
here's a quick example of how to grab a web page via port 80 with it:
stream : TSocketStream = TSocketStream.CreateClient("www.blitzbasic.com", 80) If Not stream Then RuntimeError("Error creating socket") EndIf If Not stream Return stream.WriteLine "GET / HTTP/1.1" stream.WriteLine "Host: 127.0.0.1" stream.WriteLine "" While Not Eof( stream ) 'If Not stream.ReadLine() Exit Print Stream.Readline() Wend stream.close() stream = Null FlushMem End