How to set SO_RCVTIMEO and SO_SNDTIMEO on Solaris8
robert
robert at 963.net
Tue May 27 02:11:38 EDT 2003
Hello,
How to set SO_RCVTIMEO and SO_SNDTIMEO via socket.setsockopt
python2.2.2 for Solaris8. When set it using the following
command:
s=socket(AF_INET,SOCK_STREAM)
s.setsockopt(SOL_SOCKET,SO_RCVTIMEO,pack("ll",30,0)
The following error message will be get:
socket.error: (99, 'Option not supported by protocol')
I don't know how to set SO_RCVTIMEO and SO_SNDTIMEO value
in python2.2.2 for solaris
Thanks in advance!
Sincerely
XiaoZheng Ning
More information about the Python-list
mailing list