I don't have any sample code for you and I currently don't even have a BlitzMax installation. But you should send chunks of bytes instead of single bytes. Try sending blocks of 1024 bytes or maybe even a bit more - it'll be MUCH faster than sending individual bytes over the net.