{ "id": "109364", "key": "AC-2335", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-26T00:43:27.000+0000", "created": "2013-02-07T14:28:52.000+0000", "labels": [ "ios", "regression", "socket" ], "versions": [], "issuelinks": [], "assignee": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:21.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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.\r\nIn the simulator, it works just fine.\r\nOn device, the read callback seems to have no buffer to read from.\r\n\r\nThe code is in app.js\r\nThe console log from simulator and from device are in runtime-logs.txt\r\n\r\nI believe this was working in earlier version of the framework and/or OS.\r\n\r\nPlease advise.\r\n\r\nRomain. \r\n\r\n", "attachment": [ { "id": "35465", "filename": "app.js.txt", "author": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-07T14:28:52.000+0000", "size": 728, "mimeType": "text/plain" }, { "id": "35464", "filename": "diag.txt", "author": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-07T14:28:52.000+0000", "size": 1264, "mimeType": "text/plain" }, { "id": "35466", "filename": "runtime-logs.txt", "author": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-07T14:28:52.000+0000", "size": 3051, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Ti.Network.Socket.createTCP works in simulator but not on device", "creator": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "environment": "MacosX 10.8.2\r\nFull environment : see diag.txt\r\n\r\nDevice: iPhone5, ios 6.1 (10B143)\r\n\r\n[INFO] : \b\b \bBuild type: development\r\n[INFO] : \b\b \bBuilding for target: simulator\r\n[INFO] : \b\b \bBuilding using iOS SDK: 6.1\r\n[INFO] : \b\b \bBuilding for iOS iPhone Simulator: 6.1\r\n[INFO] : \b\b \bBuilding for device family: iphone\r\n[INFO] : \b\b \bBuilding for iOS 6.1; using 4.3 as minimum iOS version", "comment": { "comments": [ { "id": "238874", "author": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "body": "Hi there,\n\nany update on this issue? This is a regression of the socket behaviour and it's preventing me from launching my startup.\nIf I can be of any help in the resolution, very much happy to do so.\n\nthanks.\n\nRomain.", "updateAuthor": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-19T08:32:44.000+0000", "updated": "2013-02-19T08:32:44.000+0000" }, { "id": "239397", "author": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "body": "Just retested it in 3.0.2 and the problem has disappeared. So I guess you can close this issue.", "updateAuthor": { "name": "romain", "key": "romain", "displayName": "Romain Eude", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-22T16:33:48.000+0000", "updated": "2013-02-22T16:33:48.000+0000" }, { "id": "239740", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in 3.0.2GA, closing ticket.", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T00:43:27.000+0000", "updated": "2013-02-26T00:43:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }