{"action":"created","issue":{"url":"https://api.github.com/repos/kernelsauce/turbo/issues/184","labels_url":"https://api.github.com/repos/kernelsauce/turbo/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/kernelsauce/turbo/issues/184/comments","events_url":"https://api.github.com/repos/kernelsauce/turbo/issues/184/events","html_url":"https://github.com/kernelsauce/turbo/issues/184","id":69760820,"number":184,"title":"TCP client example.","user":{"login":"shadylabs","id":7526407,"avatar_url":"https://avatars.githubusercontent.com/u/7526407?v=3","gravatar_id":"","url":"https://api.github.com/users/shadylabs","html_url":"https://github.com/shadylabs","followers_url":"https://api.github.com/users/shadylabs/followers","following_url":"https://api.github.com/users/shadylabs/following{/other_user}","gists_url":"https://api.github.com/users/shadylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/shadylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadylabs/subscriptions","organizations_url":"https://api.github.com/users/shadylabs/orgs","repos_url":"https://api.github.com/users/shadylabs/repos","events_url":"https://api.github.com/users/shadylabs/events{/privacy}","received_events_url":"https://api.github.com/users/shadylabs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T06:59:50Z","updated_at":"2015-04-21T07:42:59Z","closed_at":"2015-04-21T07:42:59Z","body":"Hi,\r\nI can't figure this magic number \"fd\" in  **IOStream(fd, io_loop, max_buffer_size)**.  How do i get the number to use it in IOStream instantiation. Is there a chance of small example for implementing simple TCP client as it was done for the TCP server in \"Parrot.lua\".\r\nAs was thinking i need to create stream instance, then to connect the created instance to server  then use the supplied methods to read and write with their respective callbacks. It looks only thing i have no idea how to get is the \"fd\" to use it for my instance.\r\nPlamen."},"comment":{"url":"https://api.github.com/repos/kernelsauce/turbo/issues/comments/94673973","html_url":"https://github.com/kernelsauce/turbo/issues/184#issuecomment-94673973","issue_url":"https://api.github.com/repos/kernelsauce/turbo/issues/184","id":94673973,"user":{"login":"shadylabs","id":7526407,"avatar_url":"https://avatars.githubusercontent.com/u/7526407?v=3","gravatar_id":"","url":"https://api.github.com/users/shadylabs","html_url":"https://github.com/shadylabs","followers_url":"https://api.github.com/users/shadylabs/followers","following_url":"https://api.github.com/users/shadylabs/following{/other_user}","gists_url":"https://api.github.com/users/shadylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/shadylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadylabs/subscriptions","organizations_url":"https://api.github.com/users/shadylabs/orgs","repos_url":"https://api.github.com/users/shadylabs/repos","events_url":"https://api.github.com/users/shadylabs/events{/privacy}","received_events_url":"https://api.github.com/users/shadylabs/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T07:42:59Z","updated_at":"2015-04-21T07:42:59Z","body":"Thanks,\r\nI knew it will be something about the creating a socket, but my approach was wrong apparently."}}