ClientSlotEnableMulticast Method |
Enables the reception of multicast messages identified by the specified
name.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public void EnableMulticast(
string name,
MulticastListener listener
)
Public Sub EnableMulticast (
name As String,
listener As MulticastListener
)
Parameters
- name
- Type: SystemString
The name of the multicast messages to enable. - listener
- Type: OBCOM.NetClientMulticastListener
The listener for multicast messages.
Remarks
Multicast messages are generated by OBCOM NetServer when particular
event occurs (e.g., the price of a stock has reached a certain limit).
The
name argument has the following format:
with an optional
HostName. If no
HostName is specified,
the OBCOM NetServer
Local Host name is used. The
MulticastName is requiered and has a maximum length of 10 chars.
See Also