{"action":"created","comment":{"url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/comments/54058786","id":54058786,"diff_hunk":"@@ -74,16 +75,19 @@ private boolean connect(boolean force) throws IOException {\n \t}\n \n \tprivate boolean tryToSocketConnectionAndStreamsInitialization() throws IOException {\n-\t\towSocket = new Socket();\n+\t    owSocket = new Socket();\n+\t    for (InetAddress inetAddress : InetAddress.getAllByName(config.getHostName())) {\n \t\ttry {\n-\t\t\towSocket.connect(new InetSocketAddress(config.getHostName(), config.getPortNumber()), config.getConnectionTimeout());","path":"src/main/java/org/owfs/jowfsclient/internal/OwfsConnectionImpl.java","position":27,"original_position":27,"commit_id":"8366e9ed790d354563c11035bc0c040edc28f070","original_commit_id":"8366e9ed790d354563c11035bc0c040edc28f070","user":{"login":"pakerfeldt","id":195860,"avatar_url":"https://avatars.githubusercontent.com/u/195860?v=3","gravatar_id":"","url":"https://api.github.com/users/pakerfeldt","html_url":"https://github.com/pakerfeldt","followers_url":"https://api.github.com/users/pakerfeldt/followers","following_url":"https://api.github.com/users/pakerfeldt/following{/other_user}","gists_url":"https://api.github.com/users/pakerfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/pakerfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakerfeldt/subscriptions","organizations_url":"https://api.github.com/users/pakerfeldt/orgs","repos_url":"https://api.github.com/users/pakerfeldt/repos","events_url":"https://api.github.com/users/pakerfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/pakerfeldt/received_events","type":"User","site_admin":false},"body":"Let's keep the file consistent and stick with tabs.","created_at":"2016-02-25T07:51:53Z","updated_at":"2016-02-25T07:51:53Z","html_url":"https://github.com/pakerfeldt/jowfsclient/pull/3#discussion_r54058786","pull_request_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/comments/54058786"},"html":{"href":"https://github.com/pakerfeldt/jowfsclient/pull/3#discussion_r54058786"},"pull_request":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3","id":60035740,"html_url":"https://github.com/pakerfeldt/jowfsclient/pull/3","diff_url":"https://github.com/pakerfeldt/jowfsclient/pull/3.diff","patch_url":"https://github.com/pakerfeldt/jowfsclient/pull/3.patch","issue_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/3","number":3,"state":"open","locked":false,"title":"add support for multiple adresses for hostname","user":{"login":"sedstef","id":17231769,"avatar_url":"https://avatars.githubusercontent.com/u/17231769?v=3","gravatar_id":"","url":"https://api.github.com/users/sedstef","html_url":"https://github.com/sedstef","followers_url":"https://api.github.com/users/sedstef/followers","following_url":"https://api.github.com/users/sedstef/following{/other_user}","gists_url":"https://api.github.com/users/sedstef/gists{/gist_id}","starred_url":"https://api.github.com/users/sedstef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedstef/subscriptions","organizations_url":"https://api.github.com/users/sedstef/orgs","repos_url":"https://api.github.com/users/sedstef/repos","events_url":"https://api.github.com/users/sedstef/events{/privacy}","received_events_url":"https://api.github.com/users/sedstef/received_events","type":"User","site_admin":false},"body":"this fixes #2 ","created_at":"2016-02-20T03:22:00Z","updated_at":"2016-02-25T07:51:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ab8a46f55269810cfd9621161fcda94b329156d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3/commits","review_comments_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3/comments","review_comment_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/3/comments","statuses_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/statuses/8366e9ed790d354563c11035bc0c040edc28f070","head":{"label":"sedstef:master","ref":"master","sha":"8366e9ed790d354563c11035bc0c040edc28f070","user":{"login":"sedstef","id":17231769,"avatar_url":"https://avatars.githubusercontent.com/u/17231769?v=3","gravatar_id":"","url":"https://api.github.com/users/sedstef","html_url":"https://github.com/sedstef","followers_url":"https://api.github.com/users/sedstef/followers","following_url":"https://api.github.com/users/sedstef/following{/other_user}","gists_url":"https://api.github.com/users/sedstef/gists{/gist_id}","starred_url":"https://api.github.com/users/sedstef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedstef/subscriptions","organizations_url":"https://api.github.com/users/sedstef/orgs","repos_url":"https://api.github.com/users/sedstef/repos","events_url":"https://api.github.com/users/sedstef/events{/privacy}","received_events_url":"https://api.github.com/users/sedstef/received_events","type":"User","site_admin":false},"repo":{"id":52133233,"name":"jowfsclient","full_name":"sedstef/jowfsclient","owner":{"login":"sedstef","id":17231769,"avatar_url":"https://avatars.githubusercontent.com/u/17231769?v=3","gravatar_id":"","url":"https://api.github.com/users/sedstef","html_url":"https://github.com/sedstef","followers_url":"https://api.github.com/users/sedstef/followers","following_url":"https://api.github.com/users/sedstef/following{/other_user}","gists_url":"https://api.github.com/users/sedstef/gists{/gist_id}","starred_url":"https://api.github.com/users/sedstef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedstef/subscriptions","organizations_url":"https://api.github.com/users/sedstef/orgs","repos_url":"https://api.github.com/users/sedstef/repos","events_url":"https://api.github.com/users/sedstef/events{/privacy}","received_events_url":"https://api.github.com/users/sedstef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sedstef/jowfsclient","description":"Java client library for owserver (OWFS)","fork":true,"url":"https://api.github.com/repos/sedstef/jowfsclient","forks_url":"https://api.github.com/repos/sedstef/jowfsclient/forks","keys_url":"https://api.github.com/repos/sedstef/jowfsclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sedstef/jowfsclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sedstef/jowfsclient/teams","hooks_url":"https://api.github.com/repos/sedstef/jowfsclient/hooks","issue_events_url":"https://api.github.com/repos/sedstef/jowfsclient/issues/events{/number}","events_url":"https://api.github.com/repos/sedstef/jowfsclient/events","assignees_url":"https://api.github.com/repos/sedstef/jowfsclient/assignees{/user}","branches_url":"https://api.github.com/repos/sedstef/jowfsclient/branches{/branch}","tags_url":"https://api.github.com/repos/sedstef/jowfsclient/tags","blobs_url":"https://api.github.com/repos/sedstef/jowfsclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sedstef/jowfsclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sedstef/jowfsclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/sedstef/jowfsclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sedstef/jowfsclient/statuses/{sha}","languages_url":"https://api.github.com/repos/sedstef/jowfsclient/languages","stargazers_url":"https://api.github.com/repos/sedstef/jowfsclient/stargazers","contributors_url":"https://api.github.com/repos/sedstef/jowfsclient/contributors","subscribers_url":"https://api.github.com/repos/sedstef/jowfsclient/subscribers","subscription_url":"https://api.github.com/repos/sedstef/jowfsclient/subscription","commits_url":"https://api.github.com/repos/sedstef/jowfsclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/sedstef/jowfsclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/sedstef/jowfsclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/sedstef/jowfsclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/sedstef/jowfsclient/contents/{+path}","compare_url":"https://api.github.com/repos/sedstef/jowfsclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sedstef/jowfsclient/merges","archive_url":"https://api.github.com/repos/sedstef/jowfsclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sedstef/jowfsclient/downloads","issues_url":"https://api.github.com/repos/sedstef/jowfsclient/issues{/number}","pulls_url":"https://api.github.com/repos/sedstef/jowfsclient/pulls{/number}","milestones_url":"https://api.github.com/repos/sedstef/jowfsclient/milestones{/number}","notifications_url":"https://api.github.com/repos/sedstef/jowfsclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sedstef/jowfsclient/labels{/name}","releases_url":"https://api.github.com/repos/sedstef/jowfsclient/releases{/id}","deployments_url":"https://api.github.com/repos/sedstef/jowfsclient/deployments","created_at":"2016-02-20T02:52:18Z","updated_at":"2016-02-20T02:52:19Z","pushed_at":"2016-02-20T02:58:49Z","git_url":"git://github.com/sedstef/jowfsclient.git","ssh_url":"git@github.com:sedstef/jowfsclient.git","clone_url":"https://github.com/sedstef/jowfsclient.git","svn_url":"https://github.com/sedstef/jowfsclient","homepage":"http://www.owfs.org","size":109,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pakerfeldt:master","ref":"master","sha":"e8fe91fbc3c73ba4e1433b640b16f2542285affd","user":{"login":"pakerfeldt","id":195860,"avatar_url":"https://avatars.githubusercontent.com/u/195860?v=3","gravatar_id":"","url":"https://api.github.com/users/pakerfeldt","html_url":"https://github.com/pakerfeldt","followers_url":"https://api.github.com/users/pakerfeldt/followers","following_url":"https://api.github.com/users/pakerfeldt/following{/other_user}","gists_url":"https://api.github.com/users/pakerfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/pakerfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakerfeldt/subscriptions","organizations_url":"https://api.github.com/users/pakerfeldt/orgs","repos_url":"https://api.github.com/users/pakerfeldt/repos","events_url":"https://api.github.com/users/pakerfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/pakerfeldt/received_events","type":"User","site_admin":false},"repo":{"id":1594343,"name":"jowfsclient","full_name":"pakerfeldt/jowfsclient","owner":{"login":"pakerfeldt","id":195860,"avatar_url":"https://avatars.githubusercontent.com/u/195860?v=3","gravatar_id":"","url":"https://api.github.com/users/pakerfeldt","html_url":"https://github.com/pakerfeldt","followers_url":"https://api.github.com/users/pakerfeldt/followers","following_url":"https://api.github.com/users/pakerfeldt/following{/other_user}","gists_url":"https://api.github.com/users/pakerfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/pakerfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pakerfeldt/subscriptions","organizations_url":"https://api.github.com/users/pakerfeldt/orgs","repos_url":"https://api.github.com/users/pakerfeldt/repos","events_url":"https://api.github.com/users/pakerfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/pakerfeldt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pakerfeldt/jowfsclient","description":"Java client library for owserver (OWFS)","fork":false,"url":"https://api.github.com/repos/pakerfeldt/jowfsclient","forks_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/forks","keys_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/teams","hooks_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/hooks","issue_events_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/events{/number}","events_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/events","assignees_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/assignees{/user}","branches_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/branches{/branch}","tags_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/tags","blobs_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/statuses/{sha}","languages_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/languages","stargazers_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/stargazers","contributors_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/contributors","subscribers_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/subscribers","subscription_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/subscription","commits_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/contents/{+path}","compare_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/merges","archive_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/downloads","issues_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues{/number}","pulls_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls{/number}","milestones_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/milestones{/number}","notifications_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/labels{/name}","releases_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/releases{/id}","deployments_url":"https://api.github.com/repos/pakerfeldt/jowfsclient/deployments","created_at":"2011-04-10T09:10:34Z","updated_at":"2014-06-17T12:25:03Z","pushed_at":"2016-02-20T03:22:00Z","git_url":"git://github.com/pakerfeldt/jowfsclient.git","ssh_url":"git@github.com:pakerfeldt/jowfsclient.git","clone_url":"https://github.com/pakerfeldt/jowfsclient.git","svn_url":"https://github.com/pakerfeldt/jowfsclient","homepage":"http://www.owfs.org","size":190,"stargazers_count":5,"watchers_count":5,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3"},"html":{"href":"https://github.com/pakerfeldt/jowfsclient/pull/3"},"issue":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/3"},"comments":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/pakerfeldt/jowfsclient/statuses/8366e9ed790d354563c11035bc0c040edc28f070"}}}}