1、建立连接
Connection con = new Connection(IP, PORT); //可以不输入端口号
//连接
con.connect(); //这一步一定不能忘记
//远程服务器的用户名密码
boolean isAuthed = con.authenticateWithPassword
1、建立连接
Connection con = new Connection(IP, PORT); //可以不输入端口号
//连接
con.connect(); //这一步一定不能忘记
//远程服务器的用户名密码
boolean isAuthed = con.authenticateWithPassword