![]() Of course, what you're seeing there is just the "client side" part of the web page. I guess the idea behind this question is that if you're looking at a webpage you can do "view source" in the browser and look at the HTML, CSS, and Javascript that make up that page. Let bytes_read = reader.read_line(&mut line).await.unwrap() // HANGS HERE Writer.write_all(b"Hello!").await.unwrap() ![]() Let (reader, mut writer) = stream.split() Let mut stream = TcpStream::connect("localhost:8080").await.unwrap() Writer.write_all(line.as_bytes()).await.unwrap() Let bytes_read = reader.read_line(&mut line).await.unwrap() Let (reader, mut writer) = socket.split()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |