<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import java.io.*;
import java.net.*;

/**
 * The &lt;code&gt;JavlleServer&lt;/code&gt; receives Board information and broadcasts
 * it to all clients
 * @author  James Ezick
 * @version 2.0, 02/11/00
 */

class JavlleServer {

  /**
   * Default JavlleServer port
   */
  public static final int DEFAULT_PORT = 2002;

  /**
   * Server listening socket
   */
  private ServerSocket ss;

  /**
   * Bind to given port
   */
  public JavlleServer(int port) throws IOException {
    ss=new ServerSocket(port);
  }

  /**
   * Bind to default port
   */
  public JavlleServer() throws IOException {
    this(DEFAULT_PORT);
  }

  /**
   * Create a new board, listen for requests
   * and spawn handler threads
   */
  public void listen() throws IOException {
	
	// YOUR CODE HERE

  }
}
</pre></body></html>