diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2019-12-16 10:39:08 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | 77906be87fc67a49cf4a34fd0a03dfb7a10d74ae (patch) | |
tree | a378c29ab02681f5e4c88650a488d51100963ac1 /src/__init__.py | |
parent | 2997952bc97871c140f3724a63a6c7fed6310f57 (diff) |
Include disconnect and send function on client side
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.
Diffstat (limited to 'src/__init__.py')
0 files changed, 0 insertions, 0 deletions