{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/21480","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/21480/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/21480/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/21480/events","html_url":"https://github.com/rust-lang/rust/pull/21480","id":55076344,"number":21480,"title":"Add `bind_reusable`method to UdpSocket","user":{"login":"danslapman","id":1708325,"avatar_url":"https://avatars.githubusercontent.com/u/1708325?v=3","gravatar_id":"","url":"https://api.github.com/users/danslapman","html_url":"https://github.com/danslapman","followers_url":"https://api.github.com/users/danslapman/followers","following_url":"https://api.github.com/users/danslapman/following{/other_user}","gists_url":"https://api.github.com/users/danslapman/gists{/gist_id}","starred_url":"https://api.github.com/users/danslapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danslapman/subscriptions","organizations_url":"https://api.github.com/users/danslapman/orgs","repos_url":"https://api.github.com/users/danslapman/repos","events_url":"https://api.github.com/users/danslapman/events{/privacy}","received_events_url":"https://api.github.com/users/danslapman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pcwalton","id":157897,"avatar_url":"https://avatars.githubusercontent.com/u/157897?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwalton","html_url":"https://github.com/pcwalton","followers_url":"https://api.github.com/users/pcwalton/followers","following_url":"https://api.github.com/users/pcwalton/following{/other_user}","gists_url":"https://api.github.com/users/pcwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwalton/subscriptions","organizations_url":"https://api.github.com/users/pcwalton/orgs","repos_url":"https://api.github.com/users/pcwalton/repos","events_url":"https://api.github.com/users/pcwalton/events{/privacy}","received_events_url":"https://api.github.com/users/pcwalton/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-21T21:00:55Z","updated_at":"2015-01-23T05:05:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/21480","html_url":"https://github.com/rust-lang/rust/pull/21480","diff_url":"https://github.com/rust-lang/rust/pull/21480.diff","patch_url":"https://github.com/rust-lang/rust/pull/21480.patch"},"body":"This implements `bind_reusable` method for UdpSocket, which binds socket with SO_REUSEADDR set to `true`. Such behaviour is necessary in some cases, such as monitoring multiple multicast streams on the same machine. See also #11758"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/71148346","html_url":"https://github.com/rust-lang/rust/pull/21480#issuecomment-71148346","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/21480","id":71148346,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T05:05:55Z","updated_at":"2015-01-23T05:05:55Z","body":"I made a [similar comment](https://github.com/rust-lang/rust/pull/21514#issuecomment-71148236) on another PR, but I think that this may be best left off for now. We're actively redesigning the I/O system in a set of new RFCs. Currently one does not exist for `std::net` yet (it was part of the original monster-RFC), but I'll try to remember to ping this once that pops up!\r\n\r\nWe'll try to remember to handle this case as well, as I'm sure you're not the only one wanting this functionality! For now though I'm going to close this while we consider the new I/O system and we hope to have that RFC up soon!"}}