![]() ![]() ![]() If you have the same filenames as me, it's 'transfer.txt' The server asks for a name of the file that is to be transmitted from, write it in but DO NOT press enter yet.You should now see the server reacting and giving you connection on the socket port 8080. Enter the name the server printed for you into the client prompt.You should see a prompt for a host address. On the other command prompt (the one in the 'receive' folder) open the python file 'client.py'.This prints the name of your current PC host and awaits any socket connections. On 1 command prompt, open the python file 'server.py'. ![]() You should now have 2 different Command Prompts (Terminals on IOS or BASH on Linux) open and ready to start. On 1 Command Prompt, change directory to the 'receive' folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |