mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Player packet handling rewrite, fix #350
This commit is contained in:
parent
715b92b681
commit
9b88a4a73f
9 changed files with 823 additions and 861 deletions
|
|
@ -67,7 +67,7 @@ class UDPSocket{
|
|||
if($this->connected === false){
|
||||
return false;
|
||||
}
|
||||
return @socket_recvfrom($this->sock, $buf, 1500, 0, $source, $port);
|
||||
return @socket_recvfrom($this->sock, $buf, 65535, 0, $source, $port);
|
||||
}
|
||||
|
||||
public function write($data, $dest = false, $port = false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue