[Bug 15711] GetHostName and GetHostByName

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 5 09:13:46 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=15711


Erich Hoover <ehoover at mines.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23874|0                           |1
        is obsolete|                            |




--- Comment #10 from Erich Hoover <ehoover at mines.edu>  2009-10-05 09:13:45 ---
Created an attachment (id=23940)
 --> (http://bugs.winehq.org/attachment.cgi?id=23940)
Use the routing table if the local hostname returns the magic IP [v2]

(In reply to comment #9)
> It works very well for me.
> 
> I think it's much more "windows compliant" with Erich's patch.
> 
> Why not submit this patch to wine-patch mailing-list ?

It doesn't actually work right, Wine actually sorts the routing table
information when it builds the interface list (so it does not maintain the
priority present in the system's routing table).  However, Wine does store the
needed "priority" information (retrievable with GetIpForwardTable) and I've
made up a new version that properly uses this information, but I'm not done
testing it.  If you'd like to try it I've attached it here.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list