public class MulticastStateManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
IP_ADD_MEMBERSHIP |
| Constructor and Description |
|---|
MulticastStateManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMembership(byte[] ipaddr_buf) |
java.net.MulticastSocket |
getMulticastSocket() |
void |
rebindToPort(int port) |
public void addMembership(byte[] ipaddr_buf)
throws java.io.IOException
java.io.IOExceptionpublic void rebindToPort(int port)
throws java.io.IOException
java.io.IOExceptionpublic java.net.MulticastSocket getMulticastSocket()
Copyright © 2001-2021 JRuby. All Rights Reserved.