More logs

This commit is contained in:
Daniil Gentili 2018-05-08 12:49:55 +00:00
parent 95a9a0a07c
commit 36850e70d6

View File

@ -53,6 +53,7 @@ class Server
$timeout = 2;
$this->sock->setOption(\SOL_SOCKET, \SO_RCVTIMEO, $timeout);
$this->sock->setOption(\SOL_SOCKET, \SO_SNDTIMEO, $timeout);
\danog\MadelineProto\Logger::log("Server started! Listening on ".$this->settings['address'].":".$this->settings['port']);
while (true) {
pcntl_signal_dispatch();