Discussion:
starting bugs
i***@public.gmane.org
2009-03-27 14:56:55 UTC
Permalink
Hi,

The system I run iwar on is not connected to the net, so the default
option of connecting to www.softwink.com to get info will not work.
After looking at the source code I realised that you can disable this
feature by using a "--info", but it is not in the help options when
you run iwar from the command line.

Also if you don't turn off the remote info option, the app hangs if it
can't connect, see the stack trace below:

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(9999),
sin_addr=inet_addr("12.145.241.30")}, 16) = -1 ENETUNREACH (Network is
unreachable)
write(1, "Getting online info "..., 67Getting online info
: Error connecting. Disabling
) = 67
recv(3, 0xbfec381d, 1024, 0) = -1 ENOTCONN (Transport
endpoint is not connected)
recv(3, 0xbfec381d, 1024, 0) = -1 ENOTCONN (Transport
endpoint is not connected)
recv(3, 0xbfec381d, 1024, 0) = -1 ENOTCONN (Transport
endpoint is not connected)
recv(3, 0xbfec381d, 1024, 0) = -1 ENOTCONN (Transport
endpoint is not connected)
recv(3, 0xbfec381d, 1024, 0) = -1 ENOTCONN (Transport
endpoint is not connected)
.....

Thanks

Loading...