/** * Set the socket/port number to use. * * @param port int */ public final void setPort(int port) { m_port = port; NetBIOSDatagramSocket.setDefaultPort(port); }
/** * Set the local address to bind to. * * @param addr java.net.InetAddress */ public final void setBindAddress(InetAddress addr) { m_bindAddress = addr; NetBIOSDatagramSocket.setBindAddress(addr); }