nanogui: Cross-compilation of microwindows
Subject:
Re: [nanogui] Cross-compilation of microwindows
From:
"Greg Haerr" ####@####.####
Date:
23 Aug 2005 21:34:31 +0100
Message-Id: <059d01c5a821$fb6cdd10$0300a8c0@RDP>
: Well this is being a real problem. I'm trying to convert to AF_INET
: fo rhte sockets, and I'm running into a problem where the client
: machine gets an -1 from connect with errno 113(EHOSTUNREACH), and I
: don't know why.
:
: What makes it even stranger, is that the AF_INET method works if the
client
: is running on the same machine as the nano-X server.
My first thought is that you may not be performing a bind(),
followed by a listen(), since we're using UNIX sockets, rather
than TCP/IP. Look at some working client/server tcp/ip connect
code and make sure the server and client use the same
bind, listen, accept and connect.
Regards,
Greg