Final project for net programming class using python and flet
this command can access without authentication
auth {username} {password}
- username can't same with other user
this command can access without authentication
register {username} {real_name} {password} {country}
- real_name can't contain space
this command only can access after authentication
listpc
this command return list of private chat from other user
this command only can access after authentication
send {recipient username} {message}
- recipient user must already registered
this command only can access after authentication
sendfile {recipient username} {file path}
- recipient user must already registered
- file path must be absolute path
this command only can access after authentication
creategroup {group name}
- group name can be same with other group name
this command only can access after authentication
listgroup
this command return list of group id and its group name
this command only can access after authentication
invitegroup {group id} {username}
- group id must already created, you can check it with listgroup command
- username must already registered
this command only can access after authentication
sendg {group id} {message}
- group id must already created, you can check it with listgroup command
this command only can access after authentication
inbox {username}
- username must already registered
- if username not in private chat list, it will return "No message"
this command only can access after authentication
inboxgroup {group id}
- group id must already created, you can check it with listgroup command
this command only can access after authentication
addrealm {realm name} {realm address} {realm port}
- realm name can't contain space
- realm name can't same with other realm name
listrealm
sendpcrealm {realm name} {recipient username} {message}
- realm name must already added, you can check it with listrealm command
listpcrealm {realm name}
- realm name must already added, you can check it with listrealm command
sendfilerealm {realm name} {recipient username} {file path}
- realm name must already added, you can check it with listrealm command
creategrouprealm {realm name} {group name}
- realm name must already added, you can check it with listrealm command
listgrouprealm {realm name}
- realm name must already added, you can check it with listrealm command
invitegrouprealm {realm name} {group id} {username}
- realm name must already added, you can check it with listrealm command
- group id must already created, you can check it with listgrouprealm command
sendgrouprealm {realm name} {group id} {message}
- realm name must already added, you can check it with listrealm command
- group id must already created, you can check it with listgrouprealm command
sendgroupfilerealm {realm name} {group id} {file path}
- realm name must already added, you can check it with listrealm command
- group id must already created, you can check it with listgrouprealm command
inboxrealm {realm name} {username}
- realm name must already added, you can check it with listrealm command
- username must already contact you, you can check it with listpcrealm command
inboxgrouprealm {realm name} {group id}
- realm name must already added, you can check it with listrealm command
- group id must already created and you are member of that group, you can check it with listgrouprealm command