OK, first topic... memory buffers.
I haven't tested the routines yet, but implimented for the next WIP are:
CreateBuffer <Handle> <Size>
ReadToBuffer <FileHandle> <BufferHandle> [<Offset> [<Length>]]
WriteFromBuffer <FileHandle> <BufferHandle> [<Offset> [<Length>]]
GetBufferByte <Variable> <BufferHandle> <Offset>
GetBufferWord <Variable> <BufferHandle> <Offset> [<Endian>]
GetBufferDWord <Variable> <BufferHandle> <Offset> [<Endian>]
GetBufferString <Variable> <BufferHandle> <Offset>
SetBufferByte <BufferHandle> <Offset> <Value>
SetBufferWord <BufferHandle> <Offset> <Value> [<Endian>]
SetBufferDWord <BufferHandle> <Offset> <Value> [<Endian>]
SetBufferString <BufferHandle> <Offset> <Value>
The idea is that you can read and write binary to and from files.... and internet connections.
Coming shortly (not impleimented yet):
OpenConnection <Handle> <Server> <Port>
The internet connection handle will work with file commands. Read and write to your heart's content.
![wink.gif](http://forums.xboxscene.org/html/emoticons/wink.gif)
This is why the binary "memory buffer" stuff is now in there.
Think:
Roll your own FTP clients.
IRC clients
E-Mail clients.
...
After seeing what you guys can do with ActionScripting, I think these clients should be easily "doable" - I just have to code up the sockets code into the ActionScript stuff.