diff --git a/sock/SocketClient.php b/sock/SocketClient.php index bb0fe9b..22491d4 100644 --- a/sock/SocketClient.php +++ b/sock/SocketClient.php @@ -38,7 +38,7 @@ public function getPort() { } public function close() { - socket_shutdown( $this->connection, 0); + socket_shutdown( $this->connection ); socket_close( $this->connection ); } -} \ No newline at end of file +}