Guest User

Untitled

a guest
Jul 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Socket sock;
  2. try {
  3. sock = new Socket(address, port);
  4. }
  5. catch (IOException e) {
  6. System.out.println(e);
  7. }
  8.  
  9. _____
  10.  
  11.  
  12.  
  13. C:\Users\Elliott\ircbots\pircbot-1.5.0>javac -classpath pircbot.jar;. *.java
  14. MyBot.java:36: cannot find symbol
  15. symbol : constructor Socket(java.lang.String,java.lang.String)
  16. location: class java.net.Socket
  17. sock = new Socket(address, port);
  18. ^
Add Comment
Please, Sign In to add comment