[AC-2335] iOS: Ti.Network.Socket.createTCP works in simulator but not on device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-26T00:43:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, regression, socket |
Reporter | Romain Eude |
Assignee | Carter Lathrop |
Created | 2013-02-07T14:28:52.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
app.js.txt | 2013-02-07T14:28:52.000+0000 | 728 |
diag.txt | 2013-02-07T14:28:52.000+0000 | 1264 |
runtime-logs.txt | 2013-02-07T14:28:52.000+0000 | 3051 |
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.
Just retested it in 3.0.2 and the problem has disappeared. So I guess you can close this issue.
Fixed in 3.0.2GA, closing ticket.