Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312251

Summary: [tcf] Discovery service can't bind socket on Win 7
Product: [Tools] TCF Reporter: Ken Ryall <ken.ryall>
Component: CoreAssignee: Project Inbox <dsdp.tm.tcf-inbox>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: blocker    
Priority: P3 CC: cdtdoug, eugene
Version: unspecified   
Target Milestone: 0.3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Handle a SocketException in the same was as a BindException mober.at+eclipse: iplog+

Description Ken Ryall CLA 2010-05-10 09:24:38 EDT
Created attachment 167701 [details]
Handle a SocketException in the same was as a BindException

See the attached patch. On Windows 7 a SocketException, not a BindException is thrown if you attempt to bind to a port and it is already in use. This effectively prevents the CDT-EDC debugger from talking to a Java based TCF agent on Windows 7.
Comment 1 Eugene Tarassov CLA 2010-05-10 13:30:32 EDT
Committed.
I also removed catching of BindException - it is subclass of SocketException.

Thanks.
Comment 2 Martin Oberhuber CLA 2010-05-28 13:59:17 EDT
Comment on attachment 167701 [details]
Handle a SocketException in the same was as a BindException

This needs an iplog+ since the patch was committed.

Or did you fix this differently?
Comment 3 Martin Oberhuber CLA 2010-05-28 14:09:03 EDT
Bulk update: Marking all TCF fixes from the Helios period (2009-06-29 until 2010-06-01) as target 3.2 since they go through release review along with the TM 3.2 release.
Comment 4 Doug Schaefer CLA 2011-05-17 10:51:00 EDT
Moving bugs to new home for IP log.
Comment 5 Martin Oberhuber CLA 2013-06-05 06:28:50 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3