Comprehensive Rust(Ukrainian) 202412запустіть його звідти. Спробуйте підключитися до нього за допомогою TCP-з'єднання, наприклад, nc або telnet. • Попросіть студентів візуалізувати стан сервера прикладу з кількома підключеними клієнтами. Які0 码力 | 396 页 | 1.08 MB | 10 月前3
Comprehensive Rust(Persian ) 202412� � � � � � � � � � � � � � � � . � � � � � � � � � � � � � � � � � � � � � TCP � � � � � nc � � telnet � � � � � � � � � � � � . • Ask students to visualize what the state of the example server would0 码力 | 393 页 | 987.97 KB | 10 月前3
Comprehensive Rust(English) 202412prepared src/main.rs and run it from there. Try connecting to it with a TCP connection tool like nc or telnet. • Ask students to visualize what the state of the example server would be with a few connected0 码力 | 382 页 | 1.00 MB | 10 月前3
Comprehensive Rust ?prepared src/main.rs and run it from there. Try connecting to it with a TCP connection tool like nc or telnet. • Ask students to visualize what the state of the example server would be with a few connected0 码力 | 378 页 | 1009.46 KB | 1 年前3
Comprehensive Rust(简体中文) 202412as_bytes()).await.expect("socket error"); }); } } 将此示例复制到准备好的 src/main.rs 文件中,并从该文件运行它。 请尝试使用像 nc 或 telnet 这样的 TCP 连接工具进行连接。 • 让学生想象一下,当连接多个客户端时,示例服务器会达到怎样的状态。存在哪些任务?具有哪些 Future? • This is the first time0 码力 | 359 页 | 1.33 MB | 10 月前3
Comprehensive Rust(Español) 202412preparado y ejecútalo desde ahí. Prueba a conectarte mediante una herramienta de conexión TCP como nc o telnet. • Pide a los alumnos que vean cuál sería el estado del servidor de ejemplo con algunos clientes0 码力 | 389 页 | 1.04 MB | 10 月前3
Comprehensive Rust(繁体中文)await.expect("socket error"); }); } } 將這個範例複製到準備好的 src/main.rs,然後從中執行。 請嘗試利用 TCP 連線工具來連線,例如 nc 或 telnet。 • 請學生以圖像呈現範例伺服器具有幾個已連線用戶端時的狀態。會有哪些工作? Future 為何? • 這是我們第一次看到 async 區塊,與閉包類似,但不接受任何引數。其回傳值為 Future,類似於0 码力 | 358 页 | 1.41 MB | 10 月前3
Comprehensive Rust(Português do Brasil) 202412preparado e execute-o a partir daí. Tente se conectar a ele com uma ferramenta de conexão TCP como nc ou telnet. • Pergunte aos alunos para visualizar qual seria o estado do servidor de exemplo com alguns clientes0 码力 | 389 页 | 1.05 MB | 10 月前3
Comprehensive Rust(繁体中文) 202406await.expect("socket error"); }); } } 將這個範例複製到準備好的 src/main.rs,然後從中執行。 請嘗試利用 TCP 連線工具來連線,例如 nc 或 telnet。 • 請學生以圖像呈現範例伺服器具有幾個已連線用戶端時的狀態。會有哪些工作? Future 為何? • 這是我們第一次看到 async 區塊,與閉包類似,但不接受任何引數。其回傳值為 Future,類似於0 码力 | 356 页 | 1.41 MB | 1 年前3
Comprehensive Rust(한국어) 202412as_bytes()).await.expect("소켓 오류"); }); } } 이 예제를, 로컬 컴퓨터에 만들어 둔 src/main.rs 에 복사하고거기에서 실행하세요. nc 또는 telnet 과 같은 TCP 연결 도구를 사용하여 연결해 보세요. • 수강생들에게 이 서버에 몇 개의 클라이언트가 연결되면 이 서버의 상태가어떻게 변할지 그림을 그려보도록 하세요. 어떤0 码力 | 369 页 | 1.29 MB | 10 月前3
共 12 条
- 1
- 2













