Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312251 - [tcf] Discovery service can't bind socket on Win 7
Summary: [tcf] Discovery service can't bind socket on Win 7
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: 0.3   Edit
Assignee: Project Inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 09:24 EDT by Ken Ryall CLA
Modified: 2013-06-05 06:28 EDT (History)
2 users (show)

See Also:


Attachments
Handle a SocketException in the same was as a BindException (761 bytes, patch)
2010-05-10 09:24 EDT, Ken Ryall CLA
mober.at+eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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