mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 13:54:39 +01:00
Merge branch 'master' of https://github.com/danog/MadelineProto
This commit is contained in:
commit
f53695316c
@ -53,7 +53,7 @@ class Server
|
|||||||
$timeout = 2;
|
$timeout = 2;
|
||||||
$this->sock->setOption(\SOL_SOCKET, \SO_RCVTIMEO, $timeout);
|
$this->sock->setOption(\SOL_SOCKET, \SO_RCVTIMEO, $timeout);
|
||||||
$this->sock->setOption(\SOL_SOCKET, \SO_SNDTIMEO, $timeout);
|
$this->sock->setOption(\SOL_SOCKET, \SO_SNDTIMEO, $timeout);
|
||||||
\danog\MadelineProto\Logger::log("Server started! Listening on ".$this->settings['address'].":".$this->settings['port']);
|
\danog\MadelineProto\Logger::log('Server started! Listening on '.$this->settings['address'].':'.$this->settings['port']);
|
||||||
while (true) {
|
while (true) {
|
||||||
pcntl_signal_dispatch();
|
pcntl_signal_dispatch();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user