Code (Java):
public class MainServer implements Runnable {
// Instance variables
private static MainServer s;
private ArrayList<PrintWriter> list_clientWriter;
ServerSocket m_ServerSocket;
int port = 16001;
int clients = 0;
/**
* Method to initialize the server returns true if server has been
* initialized ordinarily otherwise returns false
*
* @return returns true if ordinarily intialized otherwise false...
Objekt starten von der main-Methode
0 commentaires:
Enregistrer un commentaire