fork download
  1. import java.io.IOException;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) throws IOException {
  6. Client client = new Client("127.0.0.1", 40000);
  7. client.send("Anus sobaki");
  8. client.send("no!");
  9. System.out.println(client.receiveAll());
  10. client.close();
  11. }
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:6: error: cannot find symbol
        Client client = new Client("127.0.0.1", 40000);
        ^
  symbol:   class Client
  location: class Main
Main.java:6: error: cannot find symbol
        Client client = new Client("127.0.0.1", 40000);
                            ^
  symbol:   class Client
  location: class Main
2 errors
stdout
Standard output is empty