Differences

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

Link to this comparison view

sde2:laboratoare:10_rust [2023/05/15 23:01]
cristiana.andrei [Sujets]
sde2:laboratoare:10_rust [2023/05/15 23:50] (current)
cristiana.andrei [TP 10 - Socket]
Line 1: Line 1:
 ====== TP 10 - 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]]
  
  
-===== Sujets ​===== +===== Exercices ​===== 
-  - Exécutez le programme dans ex1. Répondez aux questions posées par le programme.+<note important>​ 
 +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.
sde2/laboratoare/10_rust.1684180900.txt.gz · Last modified: 2023/05/15 23:01 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