Re: Application is listen to UDP port but no output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux