Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@minotaur.apache.org Received: (qmail 13365 invoked from network); 15 Sep 2010 09:12:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 09:12:02 -0000 Received: (qmail 59409 invoked by uid 500); 15 Sep 2010 09:12:02 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 59298 invoked by uid 500); 15 Sep 2010 09:12:01 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 59184 invoked by uid 99); 15 Sep 2010 09:12:00 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 09:12:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 09:11:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8F9BaUG002588 for ; Wed, 15 Sep 2010 09:11:37 GMT Message-ID: <8994730.200651284541896974.JavaMail.jira@thor> Date: Wed, 15 Sep 2010 05:11:36 -0400 (EDT) From: "Holger Grandy (JIRA)" To: etch-dev@incubator.apache.org Subject: [jira] Updated: (ETCH-80) Windows 7 / .NET 3.5 SP1 runtime setsockopt error In-Reply-To: <1869939964.226921268402187127.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ETCH-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Holger Grandy updated ETCH-80: ------------------------------ Fix Version/s: 1.1 (was: 1.2) > Windows 7 / .NET 3.5 SP1 runtime setsockopt error > ------------------------------------------------- > > Key: ETCH-80 > URL: https://issues.apache.org/jira/browse/ETCH-80 > Project: Etch > Issue Type: Bug > Components: csharp-binding > Affects Versions: 1.0.2 > Environment: Windows 7, Visual Studio 2008 SP1 > Reporter: James E. King, III > Assignee: Holger Grandy > Priority: Critical > Fix For: 1.1 > > Original Estimate: 0.03h > Remaining Estimate: 0.03h > > When starting a client or server in this environment an exception is thrown and the socket closes with the following stack - this stops everything: > System.Net.Sockets.SocketException: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call > at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent) > at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue) > at Etch.Util.TcpTransport.SetUpSocket() in c:\BambooAgent\xml-data\build-dir\ETCH-RELEASE\binding-csharp\runtime\src\main\csharp\Etch\Util\TcpTransport.cs:line 193 > at Etch.Util.Connection`1.Run0(Boolean first) in c:\BambooAgent\xml-data\build-dir\ETCH-RELEASE\binding-csharp\runtime\src\main\csharp\Etch\Util\Connection.cs:line 116 > Fix: > In TcpTransport, a call is made to SetSocketOption with SocketOptionLevel.Tcp set. The correct SocketOptionLevel is .Socket, and this will fix the issue. By setting it to .Tcp, the socket sends a SO_BROADCAST which is invalid for TCP. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.