Local stream:SocketStream = CreateSocketStream(socket)
stream.WriteString(some_string)
stream.WriteString(some_string)
surely this will create a Cstring and send it as well? The underlying socket representation requires a pointer - and I can't imagine the string type giving out a pointer to it's internals which could allow the string to be corrupted.
Maybe someone can answer this and save me from looking through the source (of which the C++ stuff usually goes over my head ;)