Removed bind address for server

This commit is contained in:
Obique PSWG
2016-01-04 16:36:00 -06:00
parent fbf5a243d3
commit f13f51aa02
2 changed files with 5 additions and 12 deletions
+4
View File
@@ -53,6 +53,10 @@ public class TCPServer {
private TCPCallback callback;
private TCPListener listener;
public TCPServer(int port, int bufferSize) {
this(null, port, bufferSize);
}
public TCPServer(InetAddress addr, int port, int bufferSize) {
this.sockets = new HashMap<>();
this.addr = addr;