You can get the details about the various errors in setsockopt from the given link below, which might help in tracing the problem
Try running the program in compatibility mode. right click on the program and click Troubleshoot Compatibility. You may also want to try updating your data card drivers and closing all unnecessary programs.
http://msdn.microsoft.com/en-us/library/ms740476(VS.85).aspxYou can also refer to link given below for more information
http://support.microsoft.com/kb/937385or
Try running the program in compatibility mode. right click on the program and click Troubleshoot Compatibility. You may also want to try updating your data card drivers and closing all unnecessary programs.