mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
server will try reading packets until none left(or limit is reached)
This commit is contained in:
parent
fcff48b5b8
commit
d5a38220bf
3 changed files with 22 additions and 5 deletions
|
|
@ -42,7 +42,7 @@ class UDPSocket{
|
|||
if($this->connected === false){
|
||||
return false;
|
||||
}
|
||||
return @socket_recvfrom($this->sock, $buf, 65535, 0, $source, $port);;
|
||||
return @socket_recvfrom($this->sock, $buf, 65535, 0, $source, $port);
|
||||
}
|
||||
|
||||
public function write($data, $dest, $port){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue