tanszek:oktatas:iss_t:socket_exercises

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tanszek:oktatas:iss_t:socket_exercises [2023/05/08 18:54] – létrehozva kneheztanszek: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 "u", /files/ is sent to the server   -) If you press "u", /files/ is sent to the server
  
- 
-** 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. 
  
 ** Exercise 3. ** ** Exercise 3. **
-Try out the non-blocking starter Java code and examine/debug the code.+Modify the **blocking** UDP code so that you can transfer a 'wired-in' name and existing binary image file larger than 2 kbytes and verify that it was successfully sent, eg. try to open the sent image by hand, in the Paint app. 
 + 
 +** Exercise 4. ** 
 +Try out the non-blocking starter Java code and examine/debug it.
  
tanszek/oktatas/iss_t/socket_exercises.1683572079.txt.gz · Last modified: 2023/05/08 18:54 by knehez