12-19-2024 09:59 AM - edited 12-19-2024 10:49 AM
I have to hand in my homework tomorrow but I still can't solve the problem....
I tried to use the TCP reader to connect two computers so people can play the game together on two separate computers, but it continues to show an error out 56.
After starting to run tube.vi, you can login with account 123 and password 123, go for 2 players, and the problem shows!
Thanks in advance for any help!
And also I want to check that for port, it is up to me to use any number above 1024 right?
12-19-2024 11:39 AM
I and many other forum members are not on LabVIEW 2024 yet. If you could save your VIs back to 2019 or so we could see them.
For port choice, anything above 1024 is technically allowed, as 1023 and lower are supposed to be system ports, yes.
While it's possible you have a code problem that I can't see, it's also possible that you're being blocked by the Windows firewall. Have you tried temporarily disabling it on the network connecting your two computers to each other?
Is your program set up in such a way that you can run it two times on the same PC and have it connect to itself to isolate the problem to either your network or to the code?
12-19-2024 12:39 PM
I tried turning down the firewalls and tried connecting two computers to each other (through mobile hotspot, not sure if that is what you meant). I also checked the TCP/IP box in tool->options->VI server, and now the error message is 60 and on other computer 63. Thanks a lot for your help