Class ChatServer

Class ChatServer

java.lang.Object
   |
   +----ChatServer

class ChatServer
extends Object
Chat server - create socket, listen on it and spawn threads to handle connections.
Author:
Tomer Klainer
mandor@cs.huji.ac.il
See Also:
ChatServerThread, ChatClient

Method Index

 o main(String[])
main driver - create socket, listen on it and spawn thread when connection is made.
Usage : ChatServer [port]
if port is not given the server would use port 7676

Methods

 o main
  public static void main(String argv[])
main driver - create socket, listen on it and spawn thread when connection is made.
Usage : ChatServer [port]
if port is not given the server would use port 7676
See Also:
ChatServerThread