public TcpConnection create(Socket socket, HttpServer server) { return new HttpConnection(socket, server); }
/* public HttpConnection(HttpServer server) : base() { this.server = server; } */ /* WINPHONE */ public HttpConnection(Socket socket, HttpServer server) : base(socket) { this.server = server; }
public HttpCommunicationManager(int port, string ressourcesDir, bool noServer) { httpServer = new HttpServer(8080); initServlets(); //httpServer.Start(); }