OnSendCompleted of Bitswarm

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

henzaimz
Posts: 1
Joined: 21 Nov 2012, 07:51

OnSendCompleted of Bitswarm

Postby henzaimz » 28 Nov 2012, 09:27

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....
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: OnSendCompleted of Bitswarm

Postby Lapo » 12 Dec 2012, 12:50

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.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 12 guests