Page 1 of 1

OnSendCompleted of Bitswarm

Posted: 28 Nov 2012, 09:27
by henzaimz
Dear SFS Team,
In case user upload a picture to server over TCP Socket, client need to know when the message flushed out successfully. So I think we should have a new BitswarmEvent as: DATA_SENT_OUT and then SFS Client dispatch new Event SFSEvent.MESSAGE_SENT_OUT....

Re: OnSendCompleted of Bitswarm

Posted: 12 Dec 2012, 12:50
by Lapo
Thanks,
when a packet is sent out it is "just out" on the wire, but we can't know when the client has finished receiving it.
For that to happen you need a reply from the client itself.