<socket>.getsockopt() and <socket>.setsockopt() can only raise socket.error,
so only catch that specific exception.
F
Fred Drake committed
9f9b593f8d1861ae4c888e08c61d1060c38bdb50
Parent: c79f3d0
so only catch that specific exception.