Java.Net.MulticastSocket Members

The members of Java.Net.MulticastSocket are listed below.

See Also: Inherited members from Java.Net.DatagramSocket

Public Constructors

Constructs a multicast socket, bound to any available port on the local host.
Constructs a MulticastSocket bound to the address and port specified by localAddress, or an unbound MulticastSocket if localAddress == null.
Constructs a multicast socket, bound to the specified port on the local host.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

InterfaceInetAddress. Returns an address of the outgoing network interface used by this socket.
LoopbackModebool. Returns true if multicast loopback is disabled.
NetworkInterfaceNetworkInterface. Returns the outgoing network interface used by this socket.
TimeToLiveint. Returns the time-to-live (TTL) for multicast packets sent on this socket.
TTLsbyte. Returns the time-to-live (TTL) for multicast packets sent on this socket.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

JoinGroup(InetAddress)
Adds this socket to the specified multicast group.
JoinGroup(SocketAddress, NetworkInterface)
Adds this socket to the specified multicast group.
LeaveGroup(InetAddress)
Removes this socket from the specified multicast group.
LeaveGroup(SocketAddress, NetworkInterface)
Removes this socket from the specified multicast group.
Send(DatagramPacket, sbyte)
Sends the given packet on this socket, using the given ttl.