gateway
- 看起来主要是做协议转换的
- A gateway is a network node that acts as an entrance and exit point, connecting two networks that use different protocols. It allows data to flow between these networks, essentially acting as a translator between different communication standards. Gateways can also refer to a single device that combines modem and router functionality, often provided by internet service providers.
网关服务
# 帮我实现一个简单的网关服务,支持tcp协议
def simple_tcp_gateway(host=</