Differences

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

Link to this comparison view

sde2:laboratoare:10_rust [2023/05/14 14:57]
cristiana.andrei
sde2:laboratoare:10_rust [2023/05/15 23:50] (current)
cristiana.andrei [TP 10 - Socket]
Line 1: Line 1:
-====== TP 09 - Socket ​  ​======+====== TP 10 - Socket ​  ​====== 
 + 
 +<note warning>​ 
 +Vous devez **accepter** le assignment d'ici et travailler avec ce repository: [[https://​classroom.github.com/​a/​_yii16eB|Lab10]] 
 +</​note>​
  
 ===== Objectifs ===== ===== Objectifs =====
Line 174: Line 178:
   * Singlethreaded web server [[https://​doc.rust-lang.org/​book/​ch20-01-single-threaded.html|en]],​ [[https://​jimskapt.github.io/​rust-book-fr/​ch20-01-single-threaded.html|fr]]   * Singlethreaded web server [[https://​doc.rust-lang.org/​book/​ch20-01-single-threaded.html|en]],​ [[https://​jimskapt.github.io/​rust-book-fr/​ch20-01-single-threaded.html|fr]]
   * A simple TCP server [[https://​www.youtube.com/​watch?​v=RJS6wMMwiA8]]   * A simple TCP server [[https://​www.youtube.com/​watch?​v=RJS6wMMwiA8]]
 +  * Rust TcpListener [[https://​doc.rust-lang.org/​std/​net/​struct.TcpListener.html]]
 +  * Rust net::​Shutdown [[https://​doc.rust-lang.org/​std/​net/​enum.Shutdown.html]]
  
-<​hidden>​ + 
-===== Sujets ​===== +===== Exercices ​===== 
-  - Clonez le [[https://​github.com/UPB-FILS-SdE2/​Solutions]] ​ +<note important>​ 
-  - Exécutez le programme dans tp9/ex1. Répondez aux questions posées par le programme.+Executer la commande ''​sudo apt install netcat''​ avant de resoudre les exercices. 
 +</note> 
 + 
 +  - Exécutez le programme dans ex1.
   - Résolvez les lignes TODO (dans l'​ordre) à partir de ex1.   - Résolvez les lignes TODO (dans l'​ordre) à partir de ex1.
   - Résolvez les lignes TODO (dans l'​ordre) de ex2.   - Résolvez les lignes TODO (dans l'​ordre) de ex2.
Line 184: Line 193:
   - Implémentez ex1 et ex2 à l'aide de sockets UDP.   - Implémentez ex1 et ex2 à l'aide de sockets UDP.
  
-===== Solutions ===== 
-[[https://​github.com/​UPB-FILS-SdE2/​Solutions/​tree/​main/​tp9|Solutions]] 
- 
-</​hidden>​ 
sde2/laboratoare/10_rust.1684065461.txt.gz · Last modified: 2023/05/14 14:57 by cristiana.andrei
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0