{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/246","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/246/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/246/events","html_url":"https://github.com/arvidn/libtorrent/issues/246","id":115620630,"number":246,"title":"Listen alerts aren't issued for session constructor","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-07T01:00:13Z","updated_at":"2015-11-08T05:01:29Z","closed_at":null,"body":"`listen_succeeded_alert` and `listen_failed_alert` aren't issued when you pass a network interface to the constructor of the session. These alerts are issued only if you use `listen_on()`.\r\n\r\nSo there isn't a way to be sure that the listen succeeded and to present the info to the user.\r\n\r\nCould this be fixed? For RC_1_0 too?"},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/154775906","html_url":"https://github.com/arvidn/libtorrent/issues/246#issuecomment-154775906","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/246","id":154775906,"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},"created_at":"2015-11-08T05:01:29Z","updated_at":"2015-11-08T05:01:29Z","body":"also, is it possible that you aren't setting the alert mask in the constructor? If you don't, but set it later, there's a race condition where some alerts may be swallowed."}}