$(D_PSYMBOL SocketException) should be thrown only if one of the socket functions $(D_PSYMBOL socketError) and sets $(D_PSYMBOL errno), because $(D_PSYMBOL SocketException) relies on the $(D_PSYMBOL errno) value.
See Implementation
$(D_PSYMBOL SocketException) should be thrown only if one of the socket functions $(D_PSYMBOL socketError) and sets $(D_PSYMBOL errno), because $(D_PSYMBOL SocketException) relies on the $(D_PSYMBOL errno) value.