Filter löschen
Filter löschen

communication using tcp/ip socket

3 Ansichten (letzte 30 Tage)
sen sun
sen sun am 22 Okt. 2018
Kommentiert: sen sun am 27 Okt. 2018
I am using TCP/IP for communication. 1: I open two matlabs on the same computer, one is server, one is client, can send and receive data: 2: I run matlab to run client code in computer A, another computer B runs server code, still can be normal Send and receive data; 3: It is strange that I put the same code, the computer A as the server, the computer B as the client, can not connect properly, the computer A open communication has been busy, the client on the computer B to connect, no any Reaction. I am using the R2015b version. if u have any advice or idea,i will appreciate that.
  2 Kommentare
Jan
Jan am 22 Okt. 2018
Do I understand correctly? These setups are working:
Computer A = Server, Computer A = Client
Computer B = Server, Computer A = Client
But this fails:
Computer A = Server, Computer B = Client
Now please explain "can not connect properly" with more details. Maybe it is just a typo in the IP address? How could we guess this...
sen sun
sen sun am 27 Okt. 2018
yeah,as you say.i try to close firewall,and they all run nomally.Thank you for your reply

Melden Sie sich an, um zu kommentieren.

Antworten (1)

sen sun
sen sun am 23 Okt. 2018
yeah,as you say.i try to close firewall,and they all run nomally.Thank you for your reply.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by