JuliaLang/julia — pull request #4124 by loladiro (2013-08-21 21:36:35+00:00)
Title: Unexport bind/TcpSocket

This unexports bind and TcpServer. I discussed this with @JeffBezanson and we came to the conclusion that we don't really see a use case for this. If we want to support a bind/connect workflow that is best done with an option to the connect method than forcing everybody in the common case to use bind.

One problem this brings up is that you can't declare a member of your your type to be a TcpSocket anymore, but we feel that you shouldn't rely on the fact that you get a `TcpSocket` anyway in light of the fact that this will definitely change as part of #3887, as well as if you change the transport by, say, introducing a TLS layer.

Anyway, if you have any strong opinions to the contrary, do bring them up. Otherwise I will merge this in a couple of days.