File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11hints :
22 - title_markdown : " How do I access the client's TCP connection?"
33 body_markdown : |-
4- This is returned by the [Listerner. Accept()](https://pkg.go.dev/net#Listener.Accept) method.
4+ This is returned by the [` Accept()` ](https://pkg.go.dev/net#Listener.Accept) method.
55
66 ```go
77 # The return value value includes:
1414
1515 - title_markdown : " How do I send a response to the client?"
1616 body_markdown : |-
17- Use the [Conn. Write()](https://pkg.go.dev/net#Conn.Write) method on the client's connection:
17+ Use the [` Write()` ](https://pkg.go.dev/net#Conn.Write) method on the client's connection:
1818
1919 ```go
2020 # Send the response to the client
Original file line number Diff line number Diff line change 11hints :
22 - title_markdown : " How do I access the client's TCP connection?"
33 body_markdown : |-
4- This is returned by the [`TcpListener:: incoming()`](https://doc.rust-lang.org/std/net/struct.TcpListener.html#method.into_incoming) method.
4+ This is returned by the [`incoming()`](https://doc.rust-lang.org/std/net/struct.TcpListener.html#method.into_incoming) method.
55
66 ```rust
77 # The return value is an iterator that provides a sequence of `TcpStream` objects.
1212
1313 - title_markdown : " How do I send a response to the client?"
1414 body_markdown : |-
15- Use the [TcpStream:: write_all()](https://doc.rust-lang.org/std/io/trait.Write.html#method.write_all) method on the client's connection:
15+ Use the [` write_all()` ](https://doc.rust-lang.org/std/io/trait.Write.html#method.write_all) method on the client's connection:
1616
1717 ```rust
1818 # Send the response to the client
You can’t perform that action at this time.
0 commit comments