What are the host and the port of a socket connection (Python's socket.socket) through TCP tunnel?

前端 未结 0 1148
情话喂你
情话喂你 2021-01-02 01:35

Let\'s say I have this Python snippet on a server

import socket

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.bind((host, port))
# ...


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题