Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion websockets.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function __construct($addr, $port, $bufferLength = 2048) {
socket_bind($this->master, $addr, $port) or die("Failed: socket_bind()");
socket_listen($this->master,20) or die("Failed: socket_listen()");
$this->sockets['m'] = $this->master;
$this->stdout("Server started\nListening on: $addr:$port\nMaster socket: ".$this->master);
$this->stdout("Server started\nListening on: " . stream_socket_get_name($this->master, false));


}
Expand Down