This is the first version of socket programming with no login authentication.
Just test its functions.
Complete functions below:
check online numbers
check all the message
broadcast online client
broadcast any message input
forward message
exit
Preparation:
requiredmodules:
socketthreadingHow to run the code:
python server_tcp_login.pysplit the terminal, then
python client_tcp_login.pyHave fun with all the functions realized!
PS: login information are in the users.txt.
Complete functions below:
check online numbers
send message to the server
send message to the online client
receive message
exit
Preparation:
requiredmodules:
sockettimeHow to run the code:
python server_udp.pysplit the terminal, then
python client_udp.pyHave fun with all the functions realized!
PS: login information are in the word.txt.