{"action":"opened","issue":{"url":"https://api.github.com/repos/wang-bin/qdevicewatcher/issues/7","labels_url":"https://api.github.com/repos/wang-bin/qdevicewatcher/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/wang-bin/qdevicewatcher/issues/7/comments","events_url":"https://api.github.com/repos/wang-bin/qdevicewatcher/issues/7/events","html_url":"https://github.com/wang-bin/qdevicewatcher/issues/7","id":79301150,"number":7,"title":"Bind: Address Already in Use","user":{"login":"jurismai","id":12555219,"avatar_url":"https://avatars.githubusercontent.com/u/12555219?v=3","gravatar_id":"","url":"https://api.github.com/users/jurismai","html_url":"https://github.com/jurismai","followers_url":"https://api.github.com/users/jurismai/followers","following_url":"https://api.github.com/users/jurismai/following{/other_user}","gists_url":"https://api.github.com/users/jurismai/gists{/gist_id}","starred_url":"https://api.github.com/users/jurismai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurismai/subscriptions","organizations_url":"https://api.github.com/users/jurismai/orgs","repos_url":"https://api.github.com/users/jurismai/repos","events_url":"https://api.github.com/users/jurismai/events{/privacy}","received_events_url":"https://api.github.com/users/jurismai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T05:45:30Z","updated_at":"2015-05-22T05:45:30Z","closed_at":null,"body":"Your app compiles and runs fine. When I try to integrate the lib into my app I get \"Bind: Address Already in Use\". I tried to set SO_REUSEADDR as suggested here:\r\n\r\nhttp://hea-www.harvard.edu/~fine/Tech/addrinuse.html\r\n\r\nThis did not help. I have integrated the files \r\n\r\nqdevicewatcher.h\r\nqdevicewatcher_p.h\r\nqdevicewatcher.cpp\r\nqdevicewatcher_linux.cpp\r\n\r\ndirectly, not as a lib. My app builds without errors, but I get the bind() errormessage. Is there any idea how to overcome this issue?\r\n\r\nThanks in advance"}}