Class SenderMCSocket
Class SenderMCSocket
java.lang.Object
|
+----SenderMCSocket
- class SenderMCSocket
- extends Object
Class implements sender multicast socket based on the
sun.net.MulticastSocket, since JDK 1.1b wasn't officially
released at the time this project has been developed
-
SenderMCSocket(String, int, byte)
- Constructor for class.
-
sendByteData(byte[])
- creates datagram packet to contain the byte array data before
sending through the multicast socket
SenderMCSocket
public SenderMCSocket(String mcAddr,
int port,
byte ttl)
- Constructor for class.
accepts mcAddr in String format, port number and ttl value.
The mcAddr will be converted to InetAddress which is required
by the SendByteData function
sendByteData
public void sendByteData(byte data_byte[])
- creates datagram packet to contain the byte array data before
sending through the multicast socket