• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

getting remote host name works with LINUX not OS X

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm just completing a package that will control communications for a set of headless computers on a LAN in an aircraft by passing message objects. This was all new to me but I got it working with my two LINUX computers, one acting as a master and the other a server. I don't have another LINUX machine to test it with two clients so I thought, "why not try my mac Air" and hooked it up. There's a problem in that I use the remotes IP address to get the remote's name, both the master and client do this, but the mac Air client nor the Master can get each other's name. On the LINUX to LINUX connection the host names are returned but with the LINUX to OS X connection it's the IP addresses.

ipaddress and hostname are Strings. Tell is my logging class.



The computers are on the same LAN all connected to the same router.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic