tanszek:oktatas:iss_t:socket_exercises
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tanszek:oktatas:iss_t:socket_exercises [2024/02/25 15:56] – knehez | tanszek:oktatas:iss_t:socket_exercises [2025/03/03 14:14] (current) – knehez | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Exercises ===== | ===== Exercises ===== | ||
- | ** Exercise 1. ** | + | ** Exercise 1. ** |
+ | |||
+ | Implement a simple file transfer via TCP and UDP. Send a file content through a socket channel. | ||
+ | |||
+ | ** Exercise 2. ** FTP server and client implementation (TCP) | ||
Create a simplified FTP (file transport) client and **blocking** server where the client can send or download text files from the server: | Create a simplified FTP (file transport) client and **blocking** server where the client can send or download text files from the server: | ||
Line 28: | Line 32: | ||
-) If you press " | -) If you press " | ||
- | |||
- | ** Exercise 2. ** | ||
- | Modify the **blocking** UDP code so that you can transfer a burned-in name and existing text or image file larger than 2 kbytes and verify that it was successfully sent, eg. try to open the sent image in Paint. | ||
** Exercise 3. ** | ** Exercise 3. ** | ||
- | Try out the non-blocking starter Java code and examine/ | + | Modify the **blocking** UDP code so that you can transfer a ' |
+ | |||
+ | ** Exercise 4. ** | ||
+ | Try out the non-blocking starter Java code and examine/ | ||
tanszek/oktatas/iss_t/socket_exercises.1708876585.txt.gz · Last modified: 2024/02/25 15:56 by knehez