powered by Jive Software

What about xmpp.component.socket.interface property to mean?

String interfaceName = JiveGlobals.getProperty(“xmpp.component.socket.interface”);

public SocketAcceptThread(ConnectionManager connManager, ServerPort serverPort)

throws IOException {

super("Socket Listener at port " + serverPort.getPort());

this.connManager = connManager;

this.serverPort = serverPort;

String interfaceName = serverPort.getInterfaceName();

bindInterface = null;

if (interfaceName != null) {

if (interfaceName.trim().length() > 0) {

bindInterface = InetAddress.getByName(interfaceName);

}

}

serverSocket = new ServerSocket(serverPort.getPort(), -1, bindInterface);

}[/code]

xmpp.component.socket.interface is null , but create serverSocket is ok , Why ?

I believe that passing in null will result in binding to all interfaces.

Regards,

Matt

thanks matt !