Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2335] iOS: Ti.Network.Socket.createTCP works in simulator but not on device

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-02-26T00:43:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsios, regression, socket
ReporterRomain Eude
AssigneeCarter Lathrop
Created2013-02-07T14:28:52.000+0000
Updated2016-03-08T07:41:21.000+0000

Description

I took the sample TCP Socket code (from http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Network.Socket.TCP ) to change it to run against my Tivo Box. I simply want to open a socket to this box. In the simulator, it works just fine. On device, the read callback seems to have no buffer to read from. The code is in app.js The console log from simulator and from device are in runtime-logs.txt I believe this was working in earlier version of the framework and/or OS. Please advise. Romain.

Attachments

FileDateSize
app.js.txt2013-02-07T14:28:52.000+0000728
diag.txt2013-02-07T14:28:52.000+00001264
runtime-logs.txt2013-02-07T14:28:52.000+00003051

Comments

  1. Romain Eude 2013-02-19

    Hi there, any update on this issue? This is a regression of the socket behaviour and it's preventing me from launching my startup. If I can be of any help in the resolution, very much happy to do so. thanks. Romain.
  2. Romain Eude 2013-02-22

    Just retested it in 3.0.2 and the problem has disappeared. So I guess you can close this issue.
  3. Carter Lathrop 2013-02-26

    Fixed in 3.0.2GA, closing ticket.

JSON Source