@@ -70,7 +70,6 @@ class SocketListener
|
|||||||
public function tick(): void
|
public function tick(): void
|
||||||
{
|
{
|
||||||
foreach ($this->servers as $id => $sock) {
|
foreach ($this->servers as $id => $sock) {
|
||||||
$protocol = get_resource_type($sock) === 'Socket' ? socket_get_option($sock, SOL_SOCKET, SO_TYPE) : -1;
|
|
||||||
$this->processServer($id, $sock);
|
$this->processServer($id, $sock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user