I encountered some "struct.error" too in the _listen() loop / read_packet(), when a client sent too big message (>65535 bytes) to the server; wouldn't it be better to catch and log ANY error, since there are lots of things that can go wrong when reading buggy packets ?
I encountered some "struct.error" too in the _listen() loop / read_packet(), when a client sent too big message (>65535 bytes) to the server; wouldn't it be better to catch and log ANY error, since there are lots of things that can go wrong when reading buggy packets ?