tcpmsg
This commit is contained in:
rodzic
b7a0265261
commit
0199595cc8
2 zmienionych plików z 1 dodań i 1 usunięć
Plik binarny nie jest wyświetlany.
|
|
@ -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) {
|
||||
|
|
|
|||
Ładowanie…
Reference in a new issue