62,614
社区成员
发帖
与我相关
我的任务
分享
public void connectToServer()
{
final int PORT=4040;
try {
client=new Socket("223.81.210.192",PORT);
textareareceiveorsend.append("connect successful\r\n");
}
catch (IOException e) {
e.printStackTrace();
}
}