Bug #21402 | System.Net.Sockets.SocketException | ||
---|---|---|---|
Submitted: | 1 Aug 2006 18:51 | Modified: | 8 Aug 2006 10:48 |
Reporter: | Gerry Cote | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 1.0.7 | OS: | Windows (Windows XP) |
Assigned to: | CPU Architecture: | Any |
[1 Aug 2006 18:51]
Gerry Cote
[8 Aug 2006 10:48]
Tonci Grgin
Hi Gerry and thanks for your problem report. Connector/NET code: SetState(ConnectionState.Connecting); try { if (settings.Pooling) { driver = MySqlPoolManager.GetConnection(settings); } else { driver = Driver.Create(settings); } } catch (Exception) { SetState(ConnectionState.Closed); throw; } As you can see, we are catching exception so that you know what's happening. Please use try...catch in your own code.