#!/usr/bin/env python
# Get list of available socket options -- Chapter 3 -- sockopts.py
#!/usr/bin/env python
# Get list of available socket options -- Chapter 3 -- sockopts.py
import socket
solist = [x for x in dir(socket) if x.startswith('SO_')]
solist.sort()
for x in solist:
print x
posted on
2011-05-03 13:02孤独的猫
阅读(339)
评论(0)
编辑收藏举报