Socket.GetMulticastTimeToLive
-----------------------------

Queries time to live for multicast data packets.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Socket](component_Socket.md) | [5.3](newinversion53.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Socket.GetMulticastTimeToLive"; SocketID ) 

**MBS**( **"Socket.GetMulticastTimeToLive";** /\* Queries time to live for multicast data packets. \*/  
**$SocketID**) /\* The socket ID received by [Socket.Connect](SocketConnect.md) function.e.g. $sock \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SocketID | The socket ID received by [Socket.Connect](SocketConnect.md) function. | $sock |

### Result

Returns value or error.

### Description

Queries time to live for multicast data packets.  
Range from 0 to 255.  
### See also

- [Socket.Connect](SocketConnect.md)
- [Socket.GetMulticastInterface](SocketGetMulticastInterface.md)
- [Socket.SetMulticastTimeToLive](SocketSetMulticastTimeToLive.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.3pr1](https://www.mbsplugins.de/archive/2015-08-26/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd August 2015 , last changed 22nd August 2015

  
[Socket.GetMulticastLoop](SocketGetMulticastLoop.md) - [Socket.GetReceiveBufferSize](SocketGetReceiveBufferSize.md)

[HTML Version](SocketGetMulticastTimeToLive.shtml)