Exemplo n.º 1
0
 public TcpConnection create(Socket socket, HttpServer server)
 {
     return new HttpConnection(socket, server);
 }
Exemplo n.º 2
0
 /*
 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();
 }