UDPAsyncSocketConnection cannot write anything special itself
CoolCat467 opened this issue · comments
UDPAsyncSocketConnection
's definition of write
is an asynchronous function, while it's base class AsyncReadConnection
's base class Connection
expects write
to be a synchronous function for all of the special write functions like write_utf
. This appears to have never been detected because everything that uses UDPAsyncSocketConnection
manually writes everything.
Duplicate of #210?
Kind of but not really. It's the same type of problem I guess you could say. Number 210's seems to be mostly focused on AsyncServerQuerier. This issue is about UDPAsyncSocketConnection. But both issues are about base classes thinking a function the subclass implements being a different type than they are, like synchronous instead of asynchronous.
Hi @CoolCat467, the repo has been moved to py-mine/mcstatus (as can be seen from the README), please comment there, the issues have been migrated too so you can just find the corresponding one.