{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/494","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/494/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/494/events","html_url":"https://github.com/arvidn/libtorrent/pull/494","id":136276394,"number":494,"title":"attempt to fix issue with binding udp sockets on windows","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-25T04:21:12Z","updated_at":"2016-02-29T23:40:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arvidn/libtorrent/pulls/494","html_url":"https://github.com/arvidn/libtorrent/pull/494","diff_url":"https://github.com/arvidn/libtorrent/pull/494.diff","patch_url":"https://github.com/arvidn/libtorrent/pull/494.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/190452098","html_url":"https://github.com/arvidn/libtorrent/pull/494#issuecomment-190452098","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/494","id":190452098,"user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T23:40:24Z","updated_at":"2016-02-29T23:40:24Z","body":"Going through the debugger doesn't reproduce the problem. Apparently the delay caused by the break between the 2 calls to bind is enough for the 2nd bind to work.\r\n\r\nHow do I use error_code? I tried reading the boost docs but I couldn't find examples.\r\nI don't know if this is what you're looking for but `error_code.value() == 10048`"}}