Class MixedcastServer

java.lang.Object
  |
  +--MixedcastServer

public class MixedcastServer
extends java.lang.Object


Field Summary
protected static java.net.DatagramPacket incoming
           
protected static java.net.DatagramSocket inSocket
           
protected static java.net.DatagramPacket outgoing
           
protected static java.net.MulticastSocket outSocket
           
 
Constructor Summary
MixedcastServer()
           
 
Method Summary
protected static void init(int serverPort, java.net.InetAddress group, int port)
           
static void main(java.lang.String[] args)
           
protected static void relay()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

inSocket

protected static java.net.DatagramSocket inSocket

outSocket

protected static java.net.MulticastSocket outSocket

incoming

protected static java.net.DatagramPacket incoming

outgoing

protected static java.net.DatagramPacket outgoing
Constructor Detail

MixedcastServer

public MixedcastServer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException

init

protected static void init(int serverPort,
                           java.net.InetAddress group,
                           int port)
                    throws java.io.IOException

relay

protected static void relay()
                     throws java.io.IOException