]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/listener/udp/class_UdpListener.php
Hub project continued:
[hub.git] / application / hub / main / listener / udp / class_UdpListener.php
index 4e8c52b6a777924218e9a7d493d31bf90608efa3..bae286155e2324c98386b98aa75b22bac2d6c983 100644 (file)
@@ -66,7 +66,7 @@ class UdpListener extends BaseListener implements Listenable {
                // Is the socket a valid resource or do we have any error?
                if (!is_resource($mainSocket)) {
                        // Then throw an InvalidSocketException
-                       throw new InvalidSocketException(array($this, gettype($mainSocket), $errno, $errstr), BaseListener::EXCEPTION_INVALID_SOCKET);
+                       throw new InvalidSocketException(array($this, $mainSocket), BaseListener::EXCEPTION_INVALID_SOCKET);
                } // END - if
 
                // Set the option to reuse the port