Posted: Fri Aug 18, 2006 5:48 am
Yeah, very nice effort, great code.
Would be desirable as a userlib and a replacement for Send/ReceiveNetworkFile. E.g. SendNetworkFilePlus and ReceiveNetworkFilePlus. On every call it returns the progress status (thus spare a callback).
At last (and i don't wanna spoil the fun):
What happens if another/foreign packet (after checking for #SendFile once) triggers the #PB_NetworkEvent_Data event while receiving the file in the loop?
What happens if (more than) one packet overhauls another one? Will the resulting file be still valid/useable?
Would be desirable as a userlib and a replacement for Send/ReceiveNetworkFile. E.g. SendNetworkFilePlus and ReceiveNetworkFilePlus. On every call it returns the progress status (thus spare a callback).
At last (and i don't wanna spoil the fun):
What happens if another/foreign packet (after checking for #SendFile once) triggers the #PB_NetworkEvent_Data event while receiving the file in the loop?
What happens if (more than) one packet overhauls another one? Will the resulting file be still valid/useable?