wxSocket on Mac - use of Hostname fails

Matt Connolly matt at soundevolution.com.au
Wed Jul 4 22:22:19 PDT 2007


Try opening a terminal window and typing `ping HPXP` and see if it  
can resolve the name. Try `ping HPXP.local`.

Mac machines, by default, use Bonjour (Apple's brand naming of zero- 
conf) to locate machines, which typically have the form: machine- 
name.local

I've noticed that some windows machines can find the server simply by  
using the SMB machine name. Eg: you can go to explorer and type  
http://machine/ and it will fine "machine" by SMB. (I think) this can  
also work to find a mac on the network provided that Windows file  
sharing is enabled, *and* the workgroup is set to "WORKGROUP" (which  
is apple's default workgroup.)

Changing the SMB workgroup can be done with the "Directory  
Access" (found in /Applications/Utilities).


Best,
Matt



On 05/07/2007, at 5:19 AM, David Mathews wrote:

> Server is working on the mac, but trying to make a client  
> connection is not.
> With Windows, I'm passing the machine name as hostname (HPXP, etc)  
> and the connections are being made without having to use the ip  
> address.
> I can only get a client connection to work with the ip dot  
> notation, but these are not fixed, unlike the machine names.
> Does the name need to be specified differently on the Mac to be  
> able to make a client connection by name rather than by ip?
>
> David
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2174 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070705/51021315/smime.bin


More information about the wx-users mailing list