[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: RE: xplRioNet + MVP
Hi Tony,
I didn't do a very good job of taking this offlist did I :-(
Anyway, I might as well keep this thread onlist for now in case it is of
use to others.
> I take the file size and split it up into 4 bytes for squirting out in
the
> tcp packet.
>
> The code is in mvp.vb, Sock_Receive_Media
>
> ' file size
> fs = FileLen(RC.MVPStreamMovie.Filename)
> b(16) = Int(fs / 16777216)
> b(17) = Int((fs - (b(16) * 16777216)) / 65536)
> b(18) = Int((fs - (b(16) * 16777216) - (b(17) * 65536)) / 256)
> b(19) = fs - (b(16) * 16777216) - (b(17) * 65536) - (b(18) * 256)
>
> Where b is a byte array and fs is a long
I'll give this a try with a file that's >2GB and see what happens.
Regards,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|