Пример #1
0
 /**
  * Set the socket/port number to use.
  *
  * @param port int
  */
 public final void setPort(int port) {
   m_port = port;
   NetBIOSDatagramSocket.setDefaultPort(port);
 }
Пример #2
0
 /**
  * Set the local address to bind to.
  *
  * @param addr java.net.InetAddress
  */
 public final void setBindAddress(InetAddress addr) {
   m_bindAddress = addr;
   NetBIOSDatagramSocket.setBindAddress(addr);
 }