Update event_socket.php
This commit is contained in:
@@ -104,9 +104,9 @@ class event_socket {
|
|||||||
|
|
||||||
public function connect($host, $port, $password) {
|
public function connect($host, $port, $password) {
|
||||||
//set defaults
|
//set defaults
|
||||||
if ($host == '') { $host = '127.0.0.1';
|
if ($host == '') { $host = '127.0.0.1'; }
|
||||||
if ($port == '') { $port = '8021';
|
if ($port == '') { $port = '8021'; }
|
||||||
if ($password == '') { $password = 'ClueCon';
|
if ($password == '') { $password = 'ClueCon'; }
|
||||||
|
|
||||||
$fp = fsockopen($host, $port, $errno, $errdesc, 3);
|
$fp = fsockopen($host, $port, $errno, $errdesc, 3);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user