FileDocCategorySizeDatePackage
TinyHttpd.javaAPI DocExample1693Sat Apr 23 22:35:38 BST 2005None

TinyHttpd

public class TinyHttpd extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    Executor executor = Executors.newFixedThreadPool(3);
    ServerSocket ss = new ServerSocket( Integer.parseInt(argv[0]) );
    while ( true )
      executor.execute( new TinyHttpdConnection( ss.accept() ) );