Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 616 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 616 Bytes

003_Socket_app

Second project with socket in python.

Client and Server connected via sockets.

The server has a database of users saved in postgresql.

The client has commands:

- pass - Change_password,
- del_m - Remove message,
- del_u - Remove user - only admin,
- help - List of commands,
- info - Info about the server version,
- list - List of all messages,
- logout - User logout,
- add_user - Add new user - only admin,
- send - Sending message to user,
- stop - Server stop,
- uptime - Server lifetime.

Users send messages.

Fistr start: user : admin pass :