我的代码:
sIP = "20.20.20.20" #My original IP comes from here > whatismyip.com
sPort = 4567
bSize = 2048
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((sIP, sPort))
我的错误:
Traceback (most recent call last):
File "/home/d0nkey/Scripts/TCPServer.py", line 19, in <mod
我使用以下命令将Linux盒配置为开关模式:
ip link add name switch type bridge
ifconfig switch 192.168.1.2
ip link set switch up
ip link set swp0 master switch && ip link set swp0 up
ip link set swp1 master switch && ip link set swp1 up
ip link set swp2 master switch && ip link set swp2 up
ip li