Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_RAW)
- timeouts = s.getsockopt(socket.SOL_IP, 0x486, 12)
- print struct.unpack('@iii', timeouts)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement