{"action":"created","issue":{"url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/1","repository_url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp","labels_url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/1/comments","events_url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/1/events","html_url":"https://github.com/PeelTechnologies/react-native-tcp/issues/1","id":130673530,"number":1,"title":"Sockets = NativeModules.TcpSockets Undefined","user":{"login":"xaviercobain88","id":2592468,"avatar_url":"https://avatars.githubusercontent.com/u/2592468?v=3","gravatar_id":"","url":"https://api.github.com/users/xaviercobain88","html_url":"https://github.com/xaviercobain88","followers_url":"https://api.github.com/users/xaviercobain88/followers","following_url":"https://api.github.com/users/xaviercobain88/following{/other_user}","gists_url":"https://api.github.com/users/xaviercobain88/gists{/gist_id}","starred_url":"https://api.github.com/users/xaviercobain88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaviercobain88/subscriptions","organizations_url":"https://api.github.com/users/xaviercobain88/orgs","repos_url":"https://api.github.com/users/xaviercobain88/repos","events_url":"https://api.github.com/users/xaviercobain88/events{/privacy}","received_events_url":"https://api.github.com/users/xaviercobain88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-02T12:48:53Z","updated_at":"2016-02-04T02:13:55Z","closed_at":null,"body":"Hi please help me,\r\n\r\nI'm trying to use your lib but, an undefined appears when the line `var Sockets = NativeModules.TcpSockets;` is executed, I added the native library to ios project and link the library but nothing happends, what can I do?\r\n\r\nThanks a lot"},"comment":{"url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/comments/179578153","html_url":"https://github.com/PeelTechnologies/react-native-tcp/issues/1#issuecomment-179578153","issue_url":"https://api.github.com/repos/PeelTechnologies/react-native-tcp/issues/1","id":179578153,"user":{"login":"xaviercobain88","id":2592468,"avatar_url":"https://avatars.githubusercontent.com/u/2592468?v=3","gravatar_id":"","url":"https://api.github.com/users/xaviercobain88","html_url":"https://github.com/xaviercobain88","followers_url":"https://api.github.com/users/xaviercobain88/followers","following_url":"https://api.github.com/users/xaviercobain88/following{/other_user}","gists_url":"https://api.github.com/users/xaviercobain88/gists{/gist_id}","starred_url":"https://api.github.com/users/xaviercobain88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xaviercobain88/subscriptions","organizations_url":"https://api.github.com/users/xaviercobain88/orgs","repos_url":"https://api.github.com/users/xaviercobain88/repos","events_url":"https://api.github.com/users/xaviercobain88/events{/privacy}","received_events_url":"https://api.github.com/users/xaviercobain88/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T02:13:55Z","updated_at":"2016-02-04T02:13:55Z","body":"Seems like the problem is for nested node_modules but now I have this:\r\n\r\n`socket-0 connecting, host: rdb.com port: 28015\r\nTcpSocket.js:67socket-0 received connect\r\nTcpSocket.js:67socket-0 received error\r\nTcpSocket.js:67socket-0 destroying\r\nLogin.js:15ReqlDriverError {name: \"ReqlDriverError\", msg: \"Could not connect to rdb.com:28015.↵Socket is not connected\", frames: undefined, message: \"Could not connect to rdb.com:28015.↵Socket is not connected\", stack: \"ReqlDriverError: Could not connect to rdb.com:2801…1/index.ios.bundle?platform=ios&dev=true:3221:13)\"…}__stackCleaned__: trueframes: undefinedmessage: \"Could not connect to rdb.com:28015.↵Socket is not connected\"msg: \"Could not connect to rdb.com:28015.↵Socket is not connected\"name: \"ReqlDriverError\"stack: \"ReqlDriverError: Could not connect to rdb.com:28015.↵Socket is not connected↵    at ReqlDriverError.ReqlError [as constructor] (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:82918:7)↵    at new ReqlDriverError (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:82963:46)↵    at TcpConnection.<anonymous> (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:80663:17)↵    at TcpConnection.g (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81992:10)↵    at TcpConnection.EventEmitter.emit (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81908:9)↵    at TcpSocket.<anonymous> (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81137:14)↵    at TcpSocket.EventEmitter.emit (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81923:14)↵    at TcpSocket._onError (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81709:6)↵    at EventEmitter.emit (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:4240:23)↵    at MessageQueue.__callFunction (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:2759:23)↵    at http://localhost:8081/index.ios.bundle?platform=ios&dev=true:2663:8↵    at guard (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:2617:1)↵    at MessageQueue.callFunctionReturnFlushedQueue (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:2662:1)↵    at DedicatedWorkerGlobalScope.onmessage (http://localhost:8081/debuggerWorker.js:39:56)↵From previous event:↵    at Function.<anonymous> (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:81369:8)↵    at Function.connect (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:82726:12)↵    at new Login (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:66507:3)↵    at ReactCompositeComponentMixin.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:13844:6)↵    at wrapper [as mountComponent] (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:3221:13)↵    at Object.ReactReconciler.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:12392:29)↵    at ReactMultiChild.Mixin.mountChildren (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24905:32)↵    at ReactNativeBaseComponent.Mixin.initializeChildren (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24516:22)↵    at ReactNativeBaseComponent.Mixin.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24639:6)↵    at Object.ReactReconciler.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:12392:29)↵    at ReactCompositeComponentMixin.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:13921:28)↵    at wrapper [as mountComponent] (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:3221:13)↵    at Object.ReactReconciler.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:12392:29)↵    at ReactMultiChild.Mixin.mountChildren (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24905:32)↵    at ReactNativeBaseComponent.Mixin.initializeChildren (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24516:22)↵    at ReactNativeBaseComponent.Mixin.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:24639:6)↵    at Object.ReactReconciler.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:12392:29)↵    at ReactCompositeComponentMixin.mountComponent (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:13921:28)↵    at wrapper [as mountComponent] (http://localhost:8081/index.ios.bundle?platform=ios&dev=true:3221:13)\"__proto__: ctor`\r\n\r\nThe socket is closed and no reason"}}