JuliaLang/julia — pull request #2723 by astrieanna (2013-04-01 03:14:39+00:00)
Title: wait_accept should be exported from Base.

`Base.accept` is already exported. When there is no connection to accept yet, `accept` throws and error; `wait_accept` blocks.

When using `TcpSocket`s to write servers without using callbacks, `wait_accept` is more useful than `accept`.