GetHostByAddr fails to get NetBios Name for A Mac Computer

This is a discussion on GetHostByAddr fails to get NetBios Name for A Mac Computer within the Networking/Device Communication forums, part of the General Programming Boards category; I'm using the example given by Microsoft here to retrieve NetBios names for the PCs on the network. However, one ...

  1. #1
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195

    GetHostByAddr fails to get NetBios Name for A Mac Computer

    I'm using the example given by Microsoft here to retrieve NetBios names for the PCs on the network. However, one computer in particular, a Mac, is not giving out it's NetBios name and the GetHostByAddr function returns error WSANO_DATA (11004).

    Can anyone shed some light on this problem? Is it a Mac issue (incorrect settings)?

    EDIT: Bonjour is not installed on the Windows machines.

    EDIT2: Ah I found the problem. The Macintosh machine did not have SMB broadcasting enabled. Under System Preferences>Sharing>Options. Case Closed.
    Last edited by Mastadex; 10-02-2009 at 11:40 AM.
    Founder and avid member of the Internationsl Typo Associateion

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling a program for Mac OSX from a windows computer
    By Jedi Nescioquis in forum Windows Programming
    Replies: 1
    Last Post: 02-13-2009, 03:06 PM
  2. some odd computer problems
    By DavidP in forum Tech Board
    Replies: 14
    Last Post: 03-31-2008, 07:25 AM
  3. Replies: 34
    Last Post: 02-26-2006, 01:16 PM
  4. Tabbed Windows with MDI?
    By willc0de4food in forum Windows Programming
    Replies: 25
    Last Post: 05-19-2005, 11:58 PM
  5. Computer will not boot.
    By RealityFusion in forum Tech Board
    Replies: 25
    Last Post: 09-10-2004, 05:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21