[Wine] Re: Application is listen to UDP port but no output

vitamin wineforum-user at winehq.org
Sun Nov 14 12:06:08 CST 2010


drunkenchicken wrote:
> 
> Code:
> trace:winsock:WS_gethostname name 0x32f154, len 256
> trace:winsock:WS_gethostname <- 'fusion'
> trace:winsock:WS_gethostbyname "fusion" ret 0x16e7d0
> 
> 
> 
> 
> 
> Code:
> 
> 127.0.0.1	localhost
> 127.0.1.1	fusion
> 
> 
> 
> 

Standard coders mistake. gethostbyname(gethostname()) is invalid on multihommed systems. You need to fix your hosts file to assign your host name to the real IP (the one that faces Internet) not loopback.







More information about the wine-users mailing list