import java.io.IOException; import java.lang.SecurityException; import java.net.Socket; import java.net.ServerSocket; public class WBServerSocket extends ServerSocket { public WBServerSocket(int port) throws IOException { super(port); } public WBSocket accept_any() throws IOException { WBSocket s = new WBSocket(); try { implAccept(s); } catch (SecurityException se) { } return s; } }