这个是源码
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import socket
host = socket.gethostbyname(socket.gethostname())
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP)
s
这个是源码
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import socket
host = socket.gethostbyname(socket.gethostname())
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP)
s