public void host(int port) {
		player1.setPos(4, HEIGHT / 2);
		player2.setPos(WIDTH - 12, HEIGHT / 2);

		hosting = true;

		try {
			serverSocket = new ServerSocket(port);
			serverSocket.setSoTimeout(1000);

			serverThread = new Thread() {
				@Override
				public void run() {
					try {
						while (!isInterrupted()) {
							Socket socket = null;

							try {
								socket = serverSocket.accept();
							} catch (SocketTimeoutException e) {
							}

							if (socket == null) {
								continue;
							}

							packetLink = new NetworkPacketLink(Game.this, socket);
							packetLink.setPacketListener(Game.this);
							packetLink.sendPacket(new Packet1StartGame());

							if (menu instanceof MenuWait) {
								MenuWait menuWait = (MenuWait) menu;
								menuWait.setStatus("Connected!", true);
							}

							break;
						}
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
			};
			serverThread.start();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}