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=</