Join GitHub today
TCP Transport Rewrite #946
This PR is ready for review.
This PR makes minor API changes: addition of NSNotification.
Unit tests are included in the PR.
This PR rewrites TCP transport as requested by project maintainer (see smartdevicelink/sdl_evolution#405 (comment)).
The project maintainer suggested to use NSURLSessionStreamTask API and I had implemented with it. Then I found a few issues. 1) it didn't work with my iOS 9.0.2 phone, and 2) the API doesn't seem to provide "TCP connected" event. After a short offline discussion with the project maintainer, I decided to use CFNetwork API instead.
A few notes: