import java.io.*;
import java.net.*;

public class jhttpd {

    public static final String version = "version 0.1";

    public static void main(String Args[]) throws IOException, UnknownHostException {
	
	ServerSocket sockme = new ServerSocket(6666, 10);
	Socket sockin;
	ConnectionHandler dome;
	config conf = new config("jhttpd.conf");
	
	
	while (true) {
	    sockin = sockme.accept();
	    dome = new ConnectionHandler(sockin, conf);
	}

    }
}

