Solution: I would put the creation of the socket inside the try block, like this:function Test-Port($server, $port) { try { $client ...
確定! 回上一頁