SrsBusiness / mcprotocol

Botting API for Minecraft using the client-server protocol
GNU General Public License v2.0
0 stars 0 forks source link

Set socket buffer size #25

Open JDongian opened 9 years ago

JDongian commented 9 years ago

https://www.gnu.org/software/libc/manual/html_node/Socket_002dLevel-Options.html Set the input buffer size manually using SO_RCVBUF, for safety. Take into consideration map size during login.