Platforms to show: All Mac Windows Linux Cross-Platform

OptionMutliCastTTLMBS(extends s as SocketCore) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Network MBS Network Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the multicast time to live value.

Works only on BSD Sockets and if the socket handle value is valid.
Raises UnsupportedOperationException in case of failure.

See also:

Some examples using this global method:

OptionMutliCastTTLMBS(extends s as SocketCore, assigns value as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method Network MBS Network Plugin 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the multicast time to live value.
Example
dim t as new UDPSocket

// create a socket
t.Port=80
t.Connect

// wait a second to connect
app.DoEvents 1000

// shows handle
MsgBox str(t.Handle)

// shows current value
MsgBox str(t.OptionMutliCastTTLMBS)
t.OptionMutliCastTTLMBS=10

// shows new value
MsgBox str(t.OptionMutliCastTTLMBS)

Works only on BSD Sockets and if the socket handle value is valid.
Raises UnsupportedOperationException in case of failure.

See also:

Some examples using this global method:

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...