Application of cryptographic Diffie-Hellman protocol for chat.
In order to use the chat online, you need to forward the port on the host server.
In addition to text transfer, the ability to transfer files (txt files, photos, etc.)
To set a custom IP for the server, change line 64 of the chat(server).py file. Then your clients can connect to your chat, don't forget to share with them ip address of server.
In order to send a file, you must enter the service word "!file" and after it indicate the absolute path to the file, or if the file is in the folder with "chat(client).py", you can simply specify the file name with the extension