diff options
author | NicoleYarroch <nicole@livio.io> | 2020-04-01 13:13:12 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-04-01 13:13:12 -0400 |
commit | 6d0ca85ecabd1990f765f7452389be01ae603e91 (patch) | |
tree | 6e6b8ab2c11d84222f1d7d4d8ee1e9ab8267ae73 | |
parent | fa2aaaa4ef5c56856459d95db00add0eb0004f65 (diff) | |
download | sdl_ios-bugfix/issue_1551_video_end_service_not_sent_secondary_transport.tar.gz |
Added logs to TCPTransport start/stop funcsbugfix/issue_1551_video_end_service_not_sent_secondary_transport
-rw-r--r-- | SmartDeviceLink/SDLTCPTransport.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTCPTransport.m b/SmartDeviceLink/SDLTCPTransport.m index b73b2d43b..027a9f204 100644 --- a/SmartDeviceLink/SDLTCPTransport.m +++ b/SmartDeviceLink/SDLTCPTransport.m @@ -64,6 +64,8 @@ NSTimeInterval ConnectionTimeoutSecs = 30.0; return; } + SDLLogD(@"Attempting to connect"); + unsigned int port; int num = [self.portNumber intValue]; if (0 <= num && num <= 65535) { @@ -98,6 +100,8 @@ NSTimeInterval ConnectionTimeoutSecs = 30.0; return; } + SDLLogD(@"Disconnecting"); + [self.sendDataQueue removeAllObjects]; self.transportErrorNotified = NO; self.transportConnected = NO; |