At 17.22 -0400 1999.07.05, Douglas A. spore wrote: >I'm having trouble running the socket example on page 241of PPE. >I get the folloowing error message : > ># IO::Socket::INET: Bad hostname 'daytime.clock.org' >File >'MacPerl:MacPerl:Examples:Chapter_17_Network_Programming:0.Sockets.0.pl'; >Line 9 > >The Pod says that it can be a hostname or and IP address. I've tried it on >my linux box and it fails in the same manner. Am I doing some thing wrong? defender:~> nslookup daytime.clock.org Server: localhost Address: 127.0.0.1 Name: louie.udel.edu Address: 128.175.1.3 Aliases: daytime.clock.org defender:~> ping daytime.clock.org PING louie.udel.edu (128.175.1.3): 56 data bytes --- louie.udel.edu ping statistics --- 40 packets transmitted, 0 packets received, 100% packet loss The host is not up. Try time.nist.gov instead (or some other host that *is* up :). -- Chris Nandor mailto:pudge@pobox.com http://pudge.net/ %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10 1FF77F13 8180B6B6']) ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org