Simple chat program in python 3.0 & above

Published: 04 September 2019
on channel: CodeWithNikhil
115
6

Connection

The server program will host on the local computer on a dedicated port after which the client program will prompt the user to input the server address so it can connect to the server on the dedicated server address and assigned port.

Beginning of the loop

Once the client program has connected to the server program. A loop will begin where two functions will be recalled one after the other. One of the function will be the send and the other would be the receive.

Calling functions

Once the loop starts the send function will allow the user to send a message to the server program which will be running the receive function allowing it to receive and display the message to the user using the server program. In the same way as soon as the message is displayed on the server program the client program will start running the receive function and the server program will now be able to run the send function allowing the user on the server program to send a message to the client program.

& SORRY ABOUT MY SILLY FUNNY MISTAKE ON PORT BECAUSE OF SPACEBAR BUTTON.

PLEASE LIKE SHARE & SUBSCRIBE


On this page of the site you can watch the video online Simple chat program in python 3.0 & above with a duration of hours minute second in good quality, which was uploaded by the user CodeWithNikhil 04 September 2019, share the link with friends and acquaintances, this video has already been watched 115 times on youtube and it was liked by 6 viewers. Enjoy your viewing!