I don't think the stream implentation in BMax is the same as that in B3D and B+. Perhaps it works the same but BMax does not have the same network commands as B3d have. (unless you use BNet - see Module Tweak Forum )
But that would not make it harder to code a server in BMax that works with a client in B+.
As far as I remember you wirte data to B3D's streams. Then you issue a command to send that data (UDP atleast). In BMax you write to a socket, which are then sent.
So in B3d you would write the data byte by byte( WriteBye() ), then send it. In BMax you send a buffer by giving a byte pointer to the send function. So it's basically the same. But if you use WriteLine() and not WriteByte() you might encounter som problems. I think WriteLine adds a End-Char at the end of the string.
The UDP/TCP networking in B3D should work with any other language, including BMax, as long as you know what you are doing and then do it right ;)
|