Bonjour.Browse
--------------

Starts browse for given type.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Bonjour](component_Bonjour.md) | [8.4](newinversion84.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "Bonjour.Browse"; Type ) 

**MBS**( **"Bonjour.Browse";** /\* Starts browse for given type. \*/  
**$Type**) /\* The type to browse for.e.g. "\_fmpro-rcfmp12.\_tcp." \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Type | The type to browse for. | "\_fmpro-rcfmp12.\_tcp." |

### Result

Returns OK or error.

### Description

Starts browse for given type.  
Results from last browse are cleared first.  
You need Bonjour library installed on Windows to have this work.  
  
Use [Bonjour.JSON](BonjourJSON.md) functions to query results later. Please let a small pause for network to provide results, which get updated in background.  
### Examples

Browser for SMB shares:

 Set Variable \[ $r ; Value: MBS ("Bonjour.Browse"; "\_smb.\_tcp.") \]  
Browser for AFP shares:

 Set Variable \[ $r ; Value: MBS ("Bonjour.Browse"; "\_afpovertcp.\_tcp.") \]  
Browser for FileMaker server:

 Set Variable \[ $r ; Value: MBS ("Bonjour.Browse"; "\_fmpro-rcfmp12.\_tcp.") \]  
### See also

- [Bonjour.JSON](BonjourJSON.md)
- [Bonjour.Register](BonjourRegister.md)

### Example Databases

- [Network/Bonjour](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Network/Bonjour.shtml#2ScriptAnchor_)

### Blog Entries

- [Adding Bonjour functions for MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2018-07-28/Adding_Bonjour_functions_for_M/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 28th July 2018 , last changed 28th July 2018

  
[BlueThermProbe.VersionNumber](BlueThermProbeVersionNumber.md) - [Bonjour.JSON](BonjourJSON.md)

[HTML Version](BonjourBrowse.shtml)