thedudeguy / PHP-Minecraft-Rcon

Simple Rcon class for php.
MIT License
155 stars 54 forks source link

Multi-packet responses #24

Open piotrskibapl opened 5 years ago

piotrskibapl commented 5 years ago

Reading responses bigger than 4096 was not possible due to splitting the response into multiple packets. I've addressed the issue by sending additional "ping" command packet and looking for "Pong!" response which should be right after the expected response.

SomKen commented 4 years ago

@thedudeguy Merge?

piotrskibapl commented 3 years ago

@SomKen it looks like the author is not active on GitHub, but if you still use this code, I just updated the pull request with some improvements.