nanogui: Cross-compilation of microwindows


Previous by date: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Alex Holden
Next by date: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Greg Haerr
Previous in thread: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Alex Holden
Next in thread: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Greg Haerr

Subject: Re: [nanogui] Cross-compilation of microwindows
From: Peter Barada ####@####.####
Date: 23 Aug 2005 22:28:27 +0100
Message-Id: <20050823212818.0A60A98428@baradas.org>

>> connect(3, {sa_family=AF_INET, sin_port=htons(6600),  
>> sin_addr=inet_addr("192.168.3.6")}, 16) = -1 EHOSTUNREACH (No route  
>> to host)
>
>Host Unreachable generally means the server didn't respond at all,  
>not that it rejected the connection to a specific port. Are you able  
>to ping from the client to the server? How about manually telnetting  
>to the server port?

I initially tried to telnet to the port, but that failed with 'host
unreachable'.  Then I verified network connectivity by ssh'ing into
that machine(which worked).  Then I tried telnet again under strace,
and that worked.  Here's the client:


socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_IP, IP_TOS, [16], 4)  = 0
connect(3, {sa_family=AF_INET, sin_port=htons(6600), sin_addr=inet_addr("192.168.3.6")}, 16) = 0
open("/home/peter/.telnetrc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(1, "Connected to fast (192.168.3.6)."..., 34Connected to fast (192.168.3.6).

The server indeed got the connection.

-- 
Peter Barada
####@####.####

Previous by date: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Alex Holden
Next by date: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Greg Haerr
Previous in thread: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Alex Holden
Next in thread: 23 Aug 2005 22:28:27 +0100 Re: Cross-compilation of microwindows, Greg Haerr


Powered by ezmlm-browse 0.20.