DESCRIPTION
The gethostbyname() function returns a structure of type
hostent for the given host name. Here name is either a
host name, or an IPv4 address in standard dot notation, or
an IPv6 address in colon (and possibly dot) notation.
Jeff
On Wed, 2002-07-03 at 23:36, Jeffrey Stedfast wrote:
On Wed, 2002-07-03 at 23:19, Jeff Self wrote: > --- Not Zed <[EMAIL PROTECTED]> wrote: > > On Thu, 2002-07-04 at 03:22, Jeff Self wrote: > > > > > > --- Emmanuel Tychon <[EMAIL PROTECTED]> wrote: > > > > On Wed, 2002-07-03 at 16:50, Jeff Self wrote: > > > > > > > > > host: 192.168.0.100 (the ip address of my > > linux > > > > box) > > > > > username: jeff > > > > > > > > Configuring such an IP address as the > > destination is > > > > a bad thing (tm). > > > > Should, for some reason, your IP address change > > and > > > > your stuff will not > > > > work anymore. You can use '127.0.0.1', which is > > the > > > > loopback, and that > > > > always works even if you do not have any > > physical > > > > network adapter. > > > > > > > > > Error while 'Opening store > > > > > > > imap:[EMAIL PROTECTED]/;use_lsub;check_all': > > > > > Host lookup failed: 192.168.0.100: host not > > found. > > > > > > > > Aha, it seems he tries to resolve the host name > > > > '192.168.0.100', which > > > > is already resolved. What if you use 'localhost' > > > > instead of > > > > '192.168.0.100'? > > > > This isn't the problem, getshostbyname works fine > > for ip addresses. > > > > > > localhost's ip is 127.0.0.1, so it may (or may > > not) > > > > solve your issue. > > > > > > > > Cheers, > > > > Emmanuel > > > > > > > > > > I can't use localhost or 127.0.0.1 because the > > imap > > > server is a different machine. I'm trying to > > access > > > the imap server from my laptop. Mozilla on OS X > > has no > > > problem connecting to 192.168.0.100. I'll try > > tonight > > > to see if Mozilla under X Windows can connect. > > > > Well if everything else resolves addresses, I dont > > see why evolution > > wouldn't. Unless there are some libc problems with > > the interfaces we're > > using. > > > > Well I setup Mozilla under X Windows to connect to my > imap server and it worked just like Mozilla under OS > X. So there's some kind of problem with Evolution > under X Windows on OS X. I've got Evolution 1.0.7 > compiled. Maybe Mac OS X is lame in that passing an ip addres to gethostbyname doesn't work like it does on every other Unix system (danw was saying something like this earlier today). *shrug* Jeff PS Jeff Self's mailer is a good example of why people shouldn't be able to configure their mail client to wrap at any width they choose. Wrapping at 50 columns is EXTREMELY annoying to read. Jeff -- Jeffrey Stedfast Evolution Hacker - Ximian, Inc. [EMAIL PROTECTED] - www.ximian.com _______________________________________________ evolution maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution
-- Jeffrey Stedfast Evolution Hacker - Ximian, Inc. [EMAIL PROTECTED] - www.ximian.com |
