-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|50|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Internet


 
shroom_monk
Created : 07 January 2007
Edited : 27 June 2012
Language : Blitz

Using TCP in Blitz

How to access the internet with Blitz

Accessing the internet is simple with Blitz. You use something called TCP. Here is a fully commented simple program to show you how to do so. Here, we shall download the index page of my website:


That is a very simple way to download any internet file you wish. Other commands can be sent, and these can be found here.

 

Comments


Sunday, 07 January 2007, 13:22
flying_cucco
From the BB online help:
OpenTCPStream/CloseTCPStream Example


Monday, 08 January 2007, 12:07
shroom_monk
Yeah, I did base it on that, but with some modifications.