tanszek:oktatas:tcp_socket_connection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tanszek:oktatas:tcp_socket_connection [2023/02/26 15:52] – [2.) Hagyományos UDP alapú kommunikáció] knehez | tanszek:oktatas:tcp_socket_connection [2023/02/27 09:16] (current) – [Exercise 1.] knehez | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Socket client and server exercises ====== | ====== Socket client and server exercises ====== | ||
- | ==== TCP style ==== | + | ==== Exercise 1. ==== |
Create a simplified FTP (file transport) client and server where the client can send or download text files from the server: | Create a simplified FTP (file transport) client and server where the client can send or download text files from the server: | ||
Line 9: | Line 9: | ||
-) Server sends back the list of the downloadable files | -) Server sends back the list of the downloadable files | ||
-) Client lists the files and asks the user what action they want to take? Upload or download? (' | -) Client lists the files and asks the user what action they want to take? Upload or download? (' | ||
- | -) In both cases the uses must give the full file name with extension | + | -) In both cases users must give the full file name with extension |
-) The client sends the selected file to the server (upload) or downloads the selected file from the server to a specific directory. | -) The client sends the selected file to the server (upload) or downloads the selected file from the server to a specific directory. | ||
Line 28: | Line 28: | ||
-) If you press " | -) If you press " | ||
- | ==== Starting point of implementation | + | ==== TCP style ==== |
tanszek/oktatas/tcp_socket_connection.1677426742.txt.gz · Last modified: 2023/02/26 15:52 by knehez