ZhangZhihui's Blog |
|
||
2023年10月16日
摘要:
Problem: You want to process HTTP requests and send back HTTP responses. Solution: Use http.Request to extract information on HTTP requests and http.R 阅读全文
摘要:
Problem: You want to create a simple web application that responds to an HTTP request and sends back an HTTP response. Solution: Use the net/http pack 阅读全文
摘要:
Problem: You want to create a UDP client to send data to a UDP server. Solution: Use the Dial function in the net package to connect to a UDP server. 阅读全文
摘要:
Problem: You want to create a UDP server to receive data from a UDP client. Solution: Use the ListenPacket function in the net package to listen for i 阅读全文
摘要:
Problem: You want to create a TCP client to send data to a TCP server. Solution: Use the Dial function in the net package to connect to a TCP server. 阅读全文
摘要:
Problem: You want to create a TCP server to receive data from a TCP client. Solution: Use the Listen function in the net package to listen for connect 阅读全文
摘要:
Computer networks use network protocols to communicate with each other. Network protocols are often abstracted into different layers. For example, Ope 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |