[Bug 15711] GetHostName and GetHostByName

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 1 18:44:24 CDT 2009


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





--- Comment #8 from Erich Hoover <ehoover at mines.edu>  2009-10-01 18:44:24 ---
Created an attachment (id=23874)
 --> (http://bugs.winehq.org/attachment.cgi?id=23874)
Use the routing table if the local hostname returns the magic IP

Apparently this is a lot easier than I thought, Wine already uses the routing
table information to build the list of adapters (this is nice because each Unix
OS has a unique method of obtaining the routing table).  Attached is a patch
that uses the routing table for determining the IPs if gethostbyname("myself")
returns the magic IP.

-- 
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