Package com.sun.nio.sctp

Examples of com.sun.nio.sctp.SctpServerChannel.bind()


                // Open a channel.
                ch = com.sun.nio.sctp.SctpServerChannel.open();

                // Configure the channel
                try {
                    ch.bind(new InetSocketAddress(0));
                    ch.configureBlocking(false);
                } catch (Throwable e) {
                    if (logger.isWarnEnabled()) {
                        logger.warn("Failed to configure a temporary socket.", e);
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.