tcpmsg
This commit is contained in:
parent
b7a0265261
commit
0199595cc8
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -172,7 +172,7 @@ public class User{
|
|||
public void TCPmessage(int index) throws IOException {
|
||||
Socket link=null;
|
||||
try {
|
||||
link=new Socket(this.userChatList.get(index).addIP,this.portTCP);
|
||||
link=new Socket(this.userChatList.get(index).addIP,this.userChatList.get(index).portTCP);
|
||||
|
||||
System.out.println("Server is listening on port"+this.portTCP+"of localhost");
|
||||
}catch(IOException e) {
|
||||
|
|
Loading…
Reference in a new issue