Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27619] iOS: Remove Ti.Network.createTCPSocket

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2019-12-10T12:38:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.0
ComponentsiOS
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2019-11-21T19:59:00.000+0000
Updated2019-12-10T12:38:09.000+0000

Description

We *still* have Ti.Network.createTCPSocket hanging around even though it has been deprecated since SDK 1.7.0! My understanding is that it is only used in the Ti.Network.BonjourService class. That implementation should be modified to use/accept Ti.Network.Socket.TCP proxies. Then we can mark Ti.Network.TCPSocket and Ti.Network.createTCPSocket as removed in our apidocs; and we can get rid of the TiNetworkTCPSocketProxy source files in the SDK.

Comments

  1. Christopher Williams 2019-11-21

    https://github.com/appcelerator/titanium_mobile/pull/11362
  2. Lokesh Choudhary 2019-12-09

    PR Merged.
  3. Sohail Saddique 2019-12-10

    Fix verified on build: 9.0.0.v20191209135132. This also fixes TIMOB-27076. Tried to build using
       Titanium.Network.createTCPSocket();
       
    but it correctly fails as this has been removed in this PR. Ticket closed.

JSON Source