lezione2.clientserver.server
Class EchoServer

java.lang.Object
  extended by lezione2.clientserver.server.EchoServer

public class EchoServer
extends java.lang.Object

Semplice server che manda indietro in output tutto ciò che riceve in input.

Author:
Raffaele Giordanelli
See Also:
ServerSocket

Field Summary
static int PORT
          Porta assegnata al servizio, al di fuori del range 1-1024
 
Constructor Summary
EchoServer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
Porta assegnata al servizio, al di fuori del range 1-1024

See Also:
Constant Field Values
Constructor Detail

EchoServer

public EchoServer()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException