Get list of available socket options : Socket : Network PYTHON TUTORIALS


PYTHON TUTORIALS » Network » Socket »

 

Get list of available socket options


import socket
solist = [for x in dir(socketif x.startswith('SO_')]
solist.sort()
for x in solist:
    print x



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Network
» Socket