Java.Net.MulticastSocket.TimeToLive Property
Returns the time-to-live (TTL) for multicast packets sent on this socket.

Syntax

[get: Android.Runtime.Register("getTimeToLive", "()I", "GetGetTimeToLiveHandler")]
[set: Android.Runtime.Register("setTimeToLive", "(I)V", "GetSetTimeToLive_IHandler")]
public virtual int TimeToLive { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs.
Java.IO.IOExceptionif an error occurs.

Remarks

Get method documentation [Android Documentation]

Returns the time-to-live (TTL) for multicast packets sent on this socket.

Set method documentation [Android Documentation]

Sets the time-to-live (TTL) for multicast packets sent on this socket. Valid TTL values are between 0 and 255 inclusive.

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1