mirror of https://git.48k.eu/ogclient
To disconnect the socket or send a message we use in different parts of the code the attribute socket which is declared inside of the client. This way will create us important problem in the future if we want to change the behavior in our client sockets. This patch adds two new methods inside the client and we can use them in other classes giving us the easy way to send messages and disconnect the client. |
||
---|---|---|
cfg | ||
src | ||
.gitignore | ||
LICENSE | ||
main.py |