diff --git a/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java b/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java index ac1e25f..1a3cc57 100644 --- a/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java +++ b/src/bindings/java/com/zerotier/sockets/ZeroTierServerSocket.java @@ -76,7 +76,6 @@ public class ZeroTierServerSocket { /** * Bind to a local address * @param localAddr Local address to which this socket should bind - * @param localPort Local port to which this socket should bind * * @exception IOException when an I/O error occurs */ @@ -86,19 +85,6 @@ public class ZeroTierServerSocket { _socket.bind(inetAddr.getHostName(), inetAddr.getPort()); } - /** - * Bind to a local address - * @param localAddr Local address to which this socket should bind - * @param localPort Local port to which this socket should bind - * - * @exception IOException when an I/O error occurs - */ - public void bind(SocketAddress localAddr, int backlog) throws IOException - { - InetSocketAddress inetAddr = (InetSocketAddress)localAddr; - _socket.bind(inetAddr.getHostName(), inetAddr.getPort()); - } - /** * Close the ZeroTierSocket. *