Macadamian/titanium_mobile — pull request #142 by Harutyun (2012-08-30 14:41:35+00:00)
Title: TIMOB-10638: BlackBerry: Cannot read from Socket.TCP

Reviewers: David L.

Changelog:
- fixed an issue with buffer clear
- fixed issues with TCP socket call backs (All the callbacks were called
whenever one of them should be called)
- refactor TCP socket callbacks

Test Cases:
- make sure you can successfully build tibb and tibbtest
- use app.js (as server) and client.js (as client) js files attached to
jira task
- run app on emulator
- run client.js with node
- make sure client and server received data and corresponding callbacks are
called
- make sure error callback is not called
- make sure when you press button it sends data to the client