001    package dk.i1.sctp;
002    import java.net.SocketException;
003    import java.net.InetAddress;
004    import java.net.InetSocketAddress;
005    
006    /**A one-to-many SCTP socket.
007    A one-to-many socket is used when you need a single endpoint connected to multiple peers.
008    This is typically used in server-like sockets.
009    Contrast with {@link OneToOneSCTPSocket}.
010    */
011    public class OneToManySCTPSocket extends SCTPSocket {
012            /**Creates an unbound socket.
013            */
014            public OneToManySCTPSocket() throws SocketException {
015                    super(true);
016            }
017            /**Creates a socket bound to the specified port.
018             *@param port The SCTP port to bind to. The socket is bound to all available interfaces (subject to system policies)
019             */
020            public OneToManySCTPSocket(int port) throws SocketException {
021                    super(true,port);
022            }
023    }