TCPSocket

BlitzMax Forums/BlitzMax Programming/TCPSocket

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.

you can even load images from http:: for example. (incbin:: is a different stream type for incbined data)


With one small caveat: The loadimage command needs the stream to be seekable (images aren't loaded entirely linearly) so you'd need to cache it locally first, like this:

Local pic:TImage=LoadImage(LoadBank("http::www.blitzbasic.com/img/brllogo-thin.png"))


This will download the image from the web into a seekable memory bank, and loadimage will pull pull it from there.