Skip to content

Commit

Permalink
Ver 1.2
Browse files Browse the repository at this point in the history
新增了聊天记录保存功能,可以将本地聊天记录保存在Core的SQL中
注:密码保存在系统本地变量中
  • Loading branch information
Core-65536 committed Jun 9, 2024
1 parent 86bab73 commit 2814c89
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file modified out/artifacts/Java_Talk/Java-Talk.jar
Binary file not shown.
Empty file.
3 changes: 1 addition & 2 deletions src/main/java/top/c0r3/talk/client/client.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ public void Init() {
RunningMode = 1;
}
}
try{
try(Socket s = new Socket(ConnectTo.ServerIP, ConnectTo.ServerPort)){
//连接到对方
Socket s = new Socket(ConnectTo.ServerIP, ConnectTo.ServerPort);
PrintWriter out = new PrintWriter(s.getOutputStream(), true);
BufferedReader consoleInput = new BufferedReader(new InputStreamReader(System.in));
//发送自己的服务端信息
Expand Down

0 comments on commit 2814c89

Please sign in to comment.